Hi,
I want to be able to make the main nav “active links show a background that looks like this:
http://staging.expresswriters.com/wp-content/uploads/2014/07/Screen-Shot-2014-07-25-at-9.18.44-AM.png
How would I do this? I can’t find the correct css selector for”.
http://staging.expresswriters.com/
Thanks, Josh
Hi Josh!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
.current-menu-item span.avia-menu-text {
background-color: #c63c63;
padding: 5px;
border-radius: 5px;
color: white;
}
P.S.: Your website looks awesome!
Regards,
Yigit
Yigit,
Thank you so much for the code and the compliment! That means a lot coming from you guys. :)
One more thing, check out the screenshot: http://staging.expresswriters.com/wp-content/uploads/2014/07/Screen-Shot-2014-07-25-at-4.28.57-PM.png
How do I make the menu backgrounds disappear under the menu dropdown?
Thanks,
Josh
Hey!
You are welcome Josh, glad we could help!
If you would like to share your website on Enfold showcase here – https://kriesi.at/support/topic/enfold-showcase/ i am sure you will receive more compliments :)
Have a great weekend!
Cheers!
Yigit
Hey!
Please change the code to following one
.header_color .main_menu ul:first-child > li.current-menu-item > a > span.avia-menu-text {
background-color: #91cf3a;
padding: 5px;
border-radius: 3px;
color: #fafafa;
}
Cheers!
Yigit
Yigit,
That code worked wonderfully. :)
We will definitely showcase our website as soon as it’s completed.
Thanks,
Josh