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. SMOOTH SCROLL

SMOOTH SCROLL

Scheduled Pinned Locked Moved General Discussion
12 Posts 2 Posters 567 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 Offline
    arminunruhA Offline
    arminunruh
    Global Moderator
    wrote on last edited by
    #2

    hey tognut86,

    there's no per-page toggle for smooth scroll built in — it's either on for the whole site or off.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tognut86
      wrote last edited by
      #3

      thank you. any work arounds?

      the reason being is that i want it for one animation heavy page (i notice the animations dont really work with a mouse wheel without smooth scroll).

      But on other pages I prefer normal scroll, as I have observed the smooth scroll glitches when moving over videos sometimes.

      Any custom code tips would be appreciated. Cheers!

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tognut86
        wrote last edited by
        #4

        or if there is no way to limit smooth scrolling to one page

        do you have any thoughts about a fix for the effect smooth scroll has on embedded videos - when scrolling over youtube/vimeo embedded videos there is a glitchy stuttering and the scrolling gets stuck.

        Would really appreciate it! :) It's the last thing I need to resolve for my site to be ready.

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

          Sorry about the huge delay here. I had some neck problems and a lot of work.
          Can you point me to a page where you see the issue, so I can see the issue?

          I can't reproduce this when I try this myself. I'm on Firefox.

          1 Reply Last reply
          0
          • T Offline
            T Offline
            tognut86
            wrote last edited by
            #6

            Hi Armin, Thank you for getting back to me on this - I really appreciate it. Hope you are feeling better in the neck area :)

            try this page. if you scroll towards the bottom of the page there is a large, embeded Vimeo video and a few more beneath:

            https://thomasmayer.co.uk/karaoke-mic-bike/

            as far as I can tell, this only happens with mouse wheel scroll. But it is consistent across the site with youtube and vimeo. Laytheme embedded videos work fine.

            I would turn smooth scroll off, but it nullifies a lot of my the element animations, as far as I can tell.

            Cheers!

            1 Reply Last reply
            0
            • T Offline
              T Offline
              tognut86
              wrote last edited by
              #7

              I realise now that it does this with any i-frame content

              1 Reply Last reply
              0
              • arminunruhA Offline
                arminunruhA Offline
                arminunruh
                Global Moderator
                wrote last edited by
                #8

                grafik.png

                Seems like a limitation of the smooth scroll library I'm using.
                next update will include a little hack so the scrolling will be better on iframes.

                1 Reply Last reply
                0
                • T Offline
                  T Offline
                  tognut86
                  wrote last edited by
                  #9

                  looks to be the culprit :)

                  Thanks. I will check it out when the new update comes.

                  Cheers!

                  1 Reply Last reply
                  0
                  • T Offline
                    T Offline
                    tognut86
                    wrote last edited by
                    #10

                    hey @arminunruh.

                    Just updated and it looks like your iframe hack works! Nice - thank you!

                    Still a little jittering, but only when I really put it to the test by scrolling ferociously up and down and moving side to side.

                    Thanks man, that has really made a difference.

                    1 Reply Last reply
                    0
                    • T Offline
                      T Offline
                      tognut86
                      wrote last edited by
                      #11

                      oh wait @arminunruh it looks like click events are affected. often takes a few tries to get it to play/stop

                      1 Reply Last reply
                      0
                      • T Offline
                        T Offline
                        tognut86
                        wrote last edited by
                        #12

                        In the end, I think I am going to go back to classic scroll. I miss out on a couple of animations and the parallax is not the same, but I found that there was quite a bit of glitching with the smooth scroll overall and the site just didn't feel particularly comfortable.

                        Thanks for working on this anyways. The animations in general are great!

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        For paid 1-on-1 Lay Theme Coaching, contact Audrey (audrey@cyberslayers.work) or me (info@laytheme.com).

                        We also code custom websites or bespoke Lay features. Drop me a line at info@laytheme.com or check out my work at arminunruh.com.

                        Want to support my work? paypal.me/arminunruh

                        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
                        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