Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • 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 5.2k Views
  • 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 Offline
    arminunruhA Offline
    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 Offline
      T Offline
      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 Offline
        arminunruhA Offline
        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 Offline
          T Offline
          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 Offline
            T Offline
            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 Offline
              ArneRobotA Offline
              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 Offline
                arminunruhA Offline
                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 Offline
                  ArneRobotA Offline
                  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 Offline
                    T Offline
                    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 Offline
                      arminunruhA Offline
                      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
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      I also code custom websites or custom Lay features.
                      šŸ’æ Email me here: šŸ’æ
                      info@laytheme.com

                      Before you post:
                      1. When using a WordPress Cache plugin, disable it or clear your cache.
                      2. Update Lay Theme and all Lay Theme Addons
                      3. Disable all Plugins
                      4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

                      This often solves issues you might run into

                      When you post:
                      1. Post a link to where the problem is
                      2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
                      3. If the problem is difficult to explain, post screenshots / link to a video to explain it
                      Online Users
                      J
                      jacksong
                      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