- This topic has 15 replies, 3 voices, and was last updated 1 year, 8 months ago by David.
-
AuthorPosts
-
August 15, 2022 at 12:47 am #2313035Kitti
Hi guys!
Elementor support team found that GP theme causes anchor menu links to work unstable. It just jumps to unreasonable places, and even if it jumps to the correct place, there is a huge offset. Please check this screenshot video to demonstrate:
https://www.loom.com/share/e027855d32674a1781229e048474bbb4If I switch theme, anchor links works just fine.
Could you please investigate it?
Thank you in advance!
KittiAugust 15, 2022 at 12:56 am #2313038Fernando Customer SupportHi Kitti,
If you have smooth scroll enable in Appearance > Customize > General, can you disable it?
If that doesn’t work, to have a better understanding of the issue, may you kindly provide the link to the site in question?
You may use the private information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
Hope to hear from you soon.
August 15, 2022 at 1:08 am #2313047KittiHi Fernando!
Thnaks for the quick reply!
Smooth scroll is not enabled.I send you the credentials to investigate further.
August 15, 2022 at 1:22 am #2313050Fernando Customer SupportWhat specific page is the one in your Loom video? Can you link it as well? I’ll try to replicate the issue from my end.
August 15, 2022 at 1:27 am #2313055KittiI send you the link. Thanks for checking!
August 15, 2022 at 4:39 am #2313255DavidStaffCustomer SupportHi there,
in Customizer > General. Do you have the Smooth scroll enabled ? If so, can you uncheck that.
August 15, 2022 at 7:23 am #2313373KittiThank your David but I’ve already answered to this.
August 15, 2022 at 7:26 am #2313377DavidStaffCustomer SupportSorry i missed that.
In Customizer > Layout > Footer, disable the Back to Top feature.The smooth scroll and back to top are the only scripts that GP loads that would interfere with scrolling.
August 15, 2022 at 7:30 am #2313378KittiI turned off Back to Top but nothing changed, still jumps to places it should not.
August 15, 2022 at 7:58 am #2313545DavidStaffCustomer SupportCan you clear any caching – as i still see the GP back-to-top script loading.
August 16, 2022 at 1:04 am #2314137KittiI’ve cleared cache as you asked.
August 16, 2022 at 1:22 am #2314158DavidStaffCustomer SupportIs the Back to Top Button disabled in Customizer > Layout > Footer ?
As i still see the HTML and Javascript being loaded for it.
And that is the only script that GP is loading that could affect scrolling.But…. i don’t think that is the issue.
In your Customizer > Additional CSS you have this:html { position: fixed; height: 100%; overflow: hidden; } body { margin: 0; width: 100vw; height: 100%; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; }
Which will mess with the page scrolling.
Try removing that CSS.As a note – Customizer > Additional CSS is saved in the Theme options, so when you switch theme you would have lost that CSS, until you switched back to GP.
August 16, 2022 at 1:31 am #2314166KittiAhh, indeed, you are right David! Thank you for your help and time!
I know it is out of your support scope but maybe you can help with this too: Do you have any idea how can I hide overflow-x without risking again the page scrolling?
August 16, 2022 at 1:54 am #2314186DavidStaffCustomer SupportGlad to hear thats working.
If i have to stop horizontal scrolling using CSS, i generally do this and as its only hiding the
x
direction it shouldn’t impact vertical scrolling:body, html { overflow-x: hidden; }
August 16, 2022 at 2:08 am #2314193KittiThank you very much David! I really appreciate your time. 🙂
Now both are working perfectly: anchor links and no horizontal scrolling.Have a nice day!
-
AuthorPosts
- You must be logged in to reply to this topic.