-
moghillpat
Hi
I’ve implemented a mega menu using the following instructions https://docs.generatepress.com/article/building-simple-mega-menu/
But the rollover doesn’t work (I don’t know css well enough, I’m afraid). Can anyone supply the css I need to make the rollover work properly please?Apologies i advance if this is a stupid topic!
-
moghillpat
I should add it’s the services section of the menu I want to turn into the mega menu
-
Hi there,
The menu is showing as a mega menu:
https://app.screencast.com/GtH2CX0hYb2s8What am I missing here?
Let me know 🙂
-
moghillpat
Hi Ying. Thanks for your reply!
I know it’s showing as a mega menu but I think it needs rollovers like the rest of the nav, to highlight menu selection. Do you get what I mean?
-
Do you mean the hover color?
If so, modify the
background-colorin this CSS, or simply remove this linebackground-color: transparent !important;.@media (min-width: 769px) { nav .main-nav .mega-menu > ul > li:hover > a, nav .main-nav .mega-menu > ul > li:focus > a, nav .main-nav .mega-menu > ul > li[class*="current-"] > a, nav .main-nav .mega-menu ul ul Specificity: (0,3,4) { background-color: transparent !important; color: inherit; } }
- You must be logged in to reply to this topic.