- This topic has 5 replies, 2 voices, and was last updated 1 year, 1 month ago by
Tom.
-
AuthorPosts
-
November 28, 2019 at 2:58 am #1081049
Matthias
Hello, GeneratePress team! I have the following problem on http://ham.2sinn.com/zimmer:
When clicking the “Konferenzräume” nav menu option on that page (which is linked to an anchor), it remains stuck there until one clicks again elsewhere on the page.
Is there a way to make it disappear when the mouse no longer hovers over it? I know HTML and CSS and I’m willing to use it 😉
Screenshot: https://pasteboard.co/IILrv2n.png
Animated GIF: https://gph.is/g/EqRY6BRUsing GeneratePress theme 2.4.1 and GP Premium 1.9.1. Disabling other plugins does not seem to solve the issue.
November 28, 2019 at 9:14 am #1081758Tom
Lead DeveloperLead DeveloperHi there,
How are you achieving the smooth scroll right now? I believe our built-in smooth scroll option has this fixed.
Let me know 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentNovember 28, 2019 at 9:19 am #1081771Matthias
I’m not using any particular smooth scrolling plugin or code. I would wager that yes, it’s the feature that comes GP, unless Beaver Builder also implements smooth scrolling with code of its own?
Do your suppose it’s the smooth scroll that causes that menu option to not disappear when the user stops hovering the mouse over it?
November 28, 2019 at 9:21 am #1081773Tom
Lead DeveloperLead DeveloperWhen you click a menu item, it applies focus, which is why the menu is keyboard accessible.
Once the scrolling is done, that focus needs to be removed, which our smooth scroll feature does automatically.
You can give it a shot, but I’m not sure if it will conflict with the smooth scrolling you already have: https://docs.generatepress.com/article/smooth-scroll/
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentNovember 28, 2019 at 9:58 am #1081815Matthias
Hey, that works! Awesome! Thanks, Tom 🙂
I also did a bit of digging and you were right, the smooth scrolling that was already happening came from Beaver Builder.
November 28, 2019 at 6:16 pm #1082188Tom
Lead DeveloperLead DeveloperAwesome, glad it fixed it! 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.