- This topic has 12 replies, 3 voices, and was last updated 2 years, 11 months ago by Tom.
May 20, 2018 at 1:50 pm #580293Anand
I have a single page website wherein when I click menu items on the desktop computer, they are loading proper sections but on mobile phones, they aren’t. Please help. I am using GPP and ElementorGeneratePress 2.1.2May 20, 2018 at 7:52 pm #580418LeoStaffCustomer SupportMay 20, 2018 at 8:07 pm #580423Anand
Please click ‘Services’ and ‘Gallery’ from the menu. On the desktop, they work fine (they scroll down to the section title) but on the cell phone, they don’t.May 20, 2018 at 8:22 pm #580433LeoStaffCustomer SupportMay 20, 2018 at 8:29 pm #580435Anand
please click the links on the desktop and on mobile you can see the difference.May 20, 2018 at 8:37 pm #580436Anand
When I click on the menu items on the mobile device, they are not pointing to the sections which are CSS ID tagged, rather loading 50-100 px below them.May 20, 2018 at 8:51 pm #580438LeoStaffCustomer Support
I did try it and noticed the problem.
However I think it’s causing by the smooth scroll or perhaps the top padding of that section from Elementor.
Doesn’t look like you are using GP’s built in smooth scroll.
Are you using Elementor for that?May 20, 2018 at 9:22 pm #580451Anand
I deleted the top padding and tested it but to no avail.
Smooth scroll check box is selected in Customize > General
Yes, I am using Elementor for thatMay 20, 2018 at 10:03 pm #580461TomLead DeveloperLead Developer
I believe this is caused by the fact that our mobile menu closes when you choose an option. That throws off the calculation of where to scroll to.
Our next version handles this within our smooth scroll script, but I’m not sure if Elementor has done anything about it yet. There was a GitHub issue about it, but their GitHub is down right now so I can’t find it.May 20, 2018 at 11:54 pm #580479Anand
Thank you, Tom.
Until your next release, is there any workaround to fix this issue?May 21, 2018 at 10:02 am #580935TomLead DeveloperLead Developer
Our release won’t fix the issue if you’re not using our smooth scroll script. It will have to be fixed on the Elementor end of things if that’s the script you’re using.May 22, 2018 at 2:53 am #581477Anand
I will use GPP’s smooth scroll scriptMay 22, 2018 at 9:00 am #581843TomLead DeveloperLead Developer
The fix for GP isn’t out yet, but you can find the patch here: https://generatepress.com/forums/topic/smooth-scroll-4/#post-549703
- You must be logged in to reply to this topic.