- This topic has 25 replies, 3 voices, and was last updated 4 years, 8 months ago by Leo.
-
AuthorPosts
-
July 22, 2019 at 6:00 pm #964603Sita
Hello,
In testing the scroll to sections, I see that part of the section is not visible. https://www.gydesoft.com/
To illustrate, when I click on menu item ‘learning center’ and select ‘section 4’, a part of the section is not visible.
How do I fix the issue?
Thank you,
SitaJuly 22, 2019 at 6:43 pm #964627LeoStaffCustomer SupportHi there,
Are you using GP’s smooth scroll with the sticky navigation?
https://docs.generatepress.com/article/smooth-scroll/Let me know ๐
July 22, 2019 at 9:01 pm #964670SitaHi Leo,
Not working yet…Not sure I understand what custom-class is!!
In Customizer: Smooth Scroll is ON, so also is Cache Dynamic CSS ONUnder advanced menu properties:
Link Target ON //// Title Attribute ON /// CSS Classes ON
Link Relationship (XFN) /// Description /// Icon ON
***********************
In the Edit Menus, Is the following correct:Section4 sub item Custom Link
URL
#
Navigation Label
Section4
Title Attribute (blank)
Open link in a new tab (not checked)CSS Classes (optional)
smooth-scroll
Icon: SelectThank you!
July 22, 2019 at 9:20 pm #964673SitaHi Leo,
I also have the following in the ‘Edit Section’:
Custom ID
Section4Custom Classes
Section4Thanks,
SitaJuly 22, 2019 at 9:22 pm #964674SitaAnd, sticky Navigation is ON
July 23, 2019 at 8:24 am #965156LeoStaffCustomer SupportInstead of using
#
for the URL in the menu item, try using the section ID.July 23, 2019 at 8:58 am #965184SitaHi Leo,
The problem is NOT that it doesn’t jump to section.
The problem IS that the top portion of the section (that we chose to jump to) is cut off.
As you can see in https://www.gydesoft.com/ :::: when I click on Section4 under the ‘Learning Center’ tab,
the top portion of Section4 is cut-off. This happens with Section3 too…..How do we get the top portion of sections not to be cut off when we jump to the sections?
The way it appears, at least on my site, is that the ‘section’ feature doesn’t work right.Thanks for your help,
SitaJuly 23, 2019 at 1:46 pm #965398SitaHi Leo,
Is there a way to decrease the amount of vertical scrolling that happens when we jump to a section?
This may solve the issue…Thanks,
SitaJuly 23, 2019 at 4:53 pm #965479TomLead DeveloperLead DeveloperCan you make sure the
smooth-scroll
class is added to the right menu item?I’m not seeing it here: https://www.screencast.com/t/AZJ2CSmbby
Our smooth scroll feature should fix this issue for you ๐
July 23, 2019 at 6:16 pm #965519SitaThat works now, thank you Tom.
Is it possible to jump to a section on a page from another page? For example, can we go from another page to Section4 on the home page?Thank you!
July 23, 2019 at 7:00 pm #965539LeoStaffCustomer SupportYes you can. You would need to use the full link for the menu URL instead of just the ID:
https://SITEURL/#ID
Our smooth scroll option only works on the same page though unfortunately.
July 23, 2019 at 7:19 pm #965553SitaHi Leo,
I tried htpps://siteurl/#id and I see the problem – does not go to the top of the section.
Thank you,
SitaJuly 24, 2019 at 9:23 am #966160TomLead DeveloperLead DeveloperUnfortunately, our script only works if the link is initiated on the page where the ID exists.
When you link to an ID from another page, the browser itself takes you there immediately before our code can execute.
July 24, 2019 at 9:40 am #966191SitaGot it, thank you for the explaining why it doesn’t work.
July 24, 2019 at 5:40 pm #966435TomLead DeveloperLead DeveloperNo problem. There might be some jQuery solutions out there, but I believe it would need to hijack the default behavior of the browser to work.
-
AuthorPosts
- You must be logged in to reply to this topic.