Archived topic
Menu Hover Animation
15 replies · Started by Diogenes on February 13, 2020
Hi,
Is the effect shown on this page of you still valid?
I applied it to my sticky bar and it doesn't work.
Thanks for the help.
Hi there,
It should be.
Do you only want it in sticky navigation?
I don't see it being added at all right now.
Let me know :)
Hi leo,
If I want to add it only in the sticky bar.
Then try replacing all the .main-navigation in the snippet with .main-navigation.navigation-stick.
It did not work.
For some reason, your menu items are missing a lot of default classes.
Are you adding any custom functions to change that?
If not can you try disabling all plugins except GP Premium and let me have a look?
I have not seen this issue before.
Disable all plugins except gp premium and remove all custom css code (except the effect we are working on)
It still does not work.
That is so strange.
Can you try replacing .menu-item with .page_item?
I already did it, it doesn't work.
Edit:
It worked :)
But only when I go down with the scroll with the sticky.
Can you wear when you're not sticky?
Sorry what? Didn't you say you only wanted on sticky navigation here?
https://generatepress.com/forums/topic/menu-hover-animation/#post-1164383
What am I missing?
Sorry for the delay Leo.
I thought it would show the effect from its initial position, before sticky out, I apologize for my confusion.
You can help?
So you want it both in static and sticky navigation?
If so take the code here:
https://docs.generatepress.com/article/adding-menu-hover-animation/
And replace .menu-item with .page_item.
Thanks Leo, it worked perfect.
No problem :)
Hi everybody!
I have GP Premium. Im already activated Colors on dashboard. I have changed the hover colors of primary menu,it works, except the main menu, just in submenus.
Here is okey:
https://pentamix.hu/suti-tajekoztato/
On the main site is not working:
http://www.pentamix.hu
What is the problem?
Thanks for your helping!