I need to remove one of the menu items because it’s just a simple quote I’m using as a divider between two other sections, so it doesn’t need to be on the menu. FYI: I’m using a child theme.
I’ve tried in the WP Admin > Appearance > Menus to add a css class to the menu item but it will not show on the front. I assume this is because you are using a custom walker menu.
Also, I noticed that you are using js to add hover classes to these menu items. I tired adding my own js to add a class (or id) but your js seems to take precedence.
So, I’m stumped.
I think it would be easiest if you allow the built-in WP menu classes to work with your walker menu. But maybe you have a better solution?
Your help is greatly appreciated.
Trishah
Apologies for the delay in replying to you.
Please send me your site and the menu item that you want to remove, We will help you resolve this issue.
Regards,
http://ecandescent.com Menu item label is "Quote". If you can tell me how you are able to do this, that would be great as I have another section that needs to be added without a menu item. trishah at trishah dot com
you can add the following code to the style.css file:
.navbar .nav > li > a[href="#quote"] { display: none; }
Note: If you want to remove a another section, you can change name menu here (quote).
E.g: #discover-more / #kickstarter / #why-its-better / #faqs / #about
See the screenshot: http://prntscr.com/4thlsp
Dominic, It works perfect. And I learned something, too. 😀 Thank you for the CSS.
Please login or Register to submit your answer