Change navigation menu item color
-
Hello I recently extended support, thank you for an awesome theme. I want to change one menu item color to red but I cannot figure it out. On our website you can see the “Indirim” nav menu. I tried using li:last-child but it changes our submenu’s last child color too. Photo is attached for clarification.
Hello,
Thank you for staying with us.
Please assign a class to the menu item and I will provide custom CSS for this item: https://xtemos.com/docs/woodmart/create-menu-2/
Best Regards
Hello I have assigned the class as you can see in the private section.
Hello,
Please add this code to the Theme Settings > Custom CSS > Global:
.whb-header-bottom .main-nav .item-level-0.classindirim-menui > a{
color:red;
}
Set the color as per your needs.
Best Regards
Hello Elise,
Thank you so much, it works perfectly, can you please provide for mobile navigation as well? I would highly appreciate it. I also added another class if that is needed.
Thank you
Hello,
I cannot enter your site anymore: https://prnt.sc/wm4oce
As soon as you get access I will check and provide the code.
Best Regard s
Hello, I apologize it may be due to some security plugin. Can you please check now?
Thank you
Hello,
Please add this code to the Theme Settings > Custom CSS > Global:
.site-mobile-menu li.indirim-mobile-menu a {
color:red;
}
Best Regards
Hello, it works perfectly.
Thank you so much as always.
You are welcome! If you have any questions please feel free to contact us.
Best Regards
Hello, after the update the navigation color for desktop has stopped working. The mobile menu is still working. Thanks in advance for your help.
Hello,
Please replace the code with this one:
.whb-header-bottom .wd-header-main-nav .menu-item.classindirim-menui > a{
color:red;
}
Best Regards
Thank you, it worked.
Cheers
You are welcome! If you have any questions please feel free to contact us.
Best Regards
The topic ‘Change navigation menu item color’ is closed to new replies.