Tagged: navigation
Hi-
I’m hoping you can help. I’m trying to get the active parent page menu item in the main nav to be red when you’re on it’s child page, but unless I add those child pages to the main menu, I can’t get the css to work. Once I added them to the main nam, the active state works, but I do not want the drop down menu to show. Is there an easy way to just hide the drop down menu for the main navigation? I’ve tried display: none on a few different things, but nothing seems to work.
Thanks in advance for your time!
Hi vidaelf!
Please try adding following code to Quick CSS in Enfold theme options under General Styling tab
ul.sub-menu { display: none; }
Cheers!
Yigit
Hi- Thanks for the reply, but the main nav drop down is still showing. Anything else I can try?
I also tried .header_color .main_menu ul.sub-menu { display: none; } with no results.
Thanks!
Is it not working because I’m using a child theme? I don’t think the css would be any different because of that, but I wanted to double check. Thanks