Menu color | WordPress.org

Try adding this as additional css:


#header .nav-menu:not(.mobile) > div > ul > li:hover > span { background: red; }

Thread Starter
t.o.m

(@tom84)

great, it works, thank you ๐Ÿ™‚

But only for the main menu, can you please tell me, how to make the color also work on the โ€œsub-menuโ€ ?

Try:


#header .nav-menu:not(.mobile) .menu ul { background: red; }
#header .nav-menu:not(.mobile) .menu ul a { color: green; border-bottom: 1px solid rgba(255,255,255,0.2); }

Thread Starter
t.o.m

(@tom84)

#header .nav-menu:not(.mobile) .menu ul li:hover > span { background: red; }

is good with hover ๐Ÿ™‚

thanks again ๐Ÿ™‚
Regards

Great ๐Ÿ™‚ Marking as resolved!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer