Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. Scroll Down arrow on a FullScreen page

Scroll Down arrow on a FullScreen page

Scheduled Pinned Locked Moved General Discussion
12 Posts 4 Posters 6.6k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • arminunruhA
    arminunruhA
    arminunruh
    Global Moderator
    wrote on last edited by arminunruh
    #3

    Hey!
    Please use "browser height for row height" and position a text at the bottom like here:
    http://laytheme.com/documentation.html#use-browser-height-for-row-height

    You can use right-click -> "space bottom" to position that text a bit :D

    Then in the gridder mouseover over that text and click the "class" button.
    Enter: fp-godown

    This works with fullscreen slider addon v. 1.3.1 and later

    1 Reply Last reply
    0
    • T
      T
      treh16
      wrote on last edited by
      #4

      Hi Armin,

      thanks for the quick reply!

      Would you help me setting up something more similar to this:

      http://webdesignbird.com/blog/divi-theme-css-improvements-tips-modifications

      OR

      http://codepen.io/shakdaniel/pen/JoKOQx

      I just need an icon pointing down, that would disappear when user scrolls down.

      (By the way, I also tried your solution for Enrico, and the cursor changes however the page doesn't scroll down on click.)

      Thanks a lot!

      1 Reply Last reply
      0
      • arminunruhA
        arminunruhA
        arminunruh
        Global Moderator
        wrote on last edited by arminunruh
        #5

        Enter this in "Custom CSS for desktop version":

        .icon-scroll{
        cursor: pointer;
        }
        
        .icon-scroll,
        .icon-scroll:before{
          position: absolute;
          left: 50%;
        }
        
        .icon-scroll{
          width: 40px;
          height: 70px;
          margin-left: -20px;
          top: 50%;
          margin-top: -80px;
          box-shadow: inset 0 0 0 1px #fff;
          border-radius: 25px;
        }
        
        .icon-scroll:before{
          content: '';
          width: 8px;
          height: 8px;
          background: #fff;
          margin-left: -4px;
          top: 8px;
          border-radius: 4px;
          animation-duration: 1.5s;
          animation-iteration-count: infinite;
          animation-name: scroll;
        }
        
        @keyframes scroll {
          0% { opacity: 1; }
          100% {
            opacity: 0;
            transform: translateY(46px);
            }
        }
        

        In your project, insert a text element like here: http://laytheme.com/documentation.html#use-browser-height-for-row-height
        Don't write anything into the text, but open the code editor with the "<>" button and enter: <div class='icon-scroll'><div/>

        Then in the gridder mouseover over that text and click the "class" button.
        Enter: fp-godown

        1 Reply Last reply
        0
        • T
          T
          treh16
          wrote on last edited by
          #6

          Hi Armin,

          the script is not really reacting. Could you have a quick look pls here:

          http://plane-site.com/projects/woha/

          Thx!

          Tom

          1 Reply Last reply
          0
          • T
            T
            treh16
            wrote on last edited by
            #7

            @arminunruh Thanks! Am I missing something? After following your steps,

            • the .on click just doesn't react. The jQuery.fn.fullpage.moveSectionDown(); doesn't get executed.
            • the msOnLeave as well.

            Does it work on your side?

            1 Reply Last reply
            0
            • ArneRobotA
              ArneRobotA
              ArneRobot
              wrote on last edited by
              #8

              @arminunruh Hello.

              This works well for me. Is there also a function the other way round? I use this to hide the project-arrows and the main menu when I scroll down inside a magnetic fullscreen slide. But I need to show those elements again when I slide up back to the page head. Any way to do that?

              Thank you!
              Arne

              1 Reply Last reply
              0
              • arminunruhA
                arminunruhA
                arminunruh
                Global Moderator
                wrote on last edited by arminunruh
                #9

                @treh16 @mm

                I just did a fullscreen slider update 1.3.1. Please update to that version. Then give your element in the gridder a class of "fp-godown" (without ""). You can get rid of the class "fullpage-godown" that you entered before.

                Go to "lay options" -> "custom css & html" -> "custom head content"

                Then add:

                <script>
                jQuery(window).on('fpOnLeave', function(event, data){
                    console.log('event', event);
                    console.log('data', data);
                    if(data.index == 1){
                        jQuery(".fp-godown").fadeOut();
                    }
                    //in case you want to fade it in when coming back to first slide
                    if(data.nextIndex == 1){
                        jQuery(".fp-godown").fadeIn();
                    }    
                });
                </script>
                

                @ArneRobot
                Please see the example here :)

                ArneRobotA T 2 Replies Last reply
                0
                • arminunruhA arminunruh

                  @treh16 @mm

                  I just did a fullscreen slider update 1.3.1. Please update to that version. Then give your element in the gridder a class of "fp-godown" (without ""). You can get rid of the class "fullpage-godown" that you entered before.

                  Go to "lay options" -> "custom css & html" -> "custom head content"

                  Then add:

                  <script>
                  jQuery(window).on('fpOnLeave', function(event, data){
                      console.log('event', event);
                      console.log('data', data);
                      if(data.index == 1){
                          jQuery(".fp-godown").fadeOut();
                      }
                      //in case you want to fade it in when coming back to first slide
                      if(data.nextIndex == 1){
                          jQuery(".fp-godown").fadeIn();
                      }    
                  });
                  </script>
                  

                  @ArneRobot
                  Please see the example here :)

                  ArneRobotA
                  ArneRobotA
                  ArneRobot
                  wrote on last edited by
                  #10

                  @arminunruh Thanks a lot Armin! That worked like a charme!

                  1 Reply Last reply
                  0
                  • arminunruhA arminunruh

                    @treh16 @mm

                    I just did a fullscreen slider update 1.3.1. Please update to that version. Then give your element in the gridder a class of "fp-godown" (without ""). You can get rid of the class "fullpage-godown" that you entered before.

                    Go to "lay options" -> "custom css & html" -> "custom head content"

                    Then add:

                    <script>
                    jQuery(window).on('fpOnLeave', function(event, data){
                        console.log('event', event);
                        console.log('data', data);
                        if(data.index == 1){
                            jQuery(".fp-godown").fadeOut();
                        }
                        //in case you want to fade it in when coming back to first slide
                        if(data.nextIndex == 1){
                            jQuery(".fp-godown").fadeIn();
                        }    
                    });
                    </script>
                    

                    @ArneRobot
                    Please see the example here :)

                    T
                    T
                    treh16
                    wrote on last edited by
                    #11

                    @arminunruh Now I see why it's not working! I don't have a Full Screen Slider! Anyway around to do it without that add-on?

                    Thanks a lot!

                    1 Reply Last reply
                    0
                    • arminunruhA
                      arminunruhA
                      arminunruh
                      Global Moderator
                      wrote on last edited by
                      #12

                      ^^

                      with jquery you can animate scroll like this. This needs a class of "clickme" on your element:

                      <script>
                      jQuery(document).on("click", ".clickme", function(){
                      jQuery("html, body").animate({ scrollTop: window.innerHeight }, 600);
                      })
                      </script>
                      
                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      Online Users
                      K
                      kp-hb
                      Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
                      laytheme.com
                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Search