How to select background color of menu item

Ask a question+

I have a transparent menu in desktop but one of my menu items, search adsler has a white background color. How can I select it to get rid of it? I also want to change the text colour to black from grey. Basically it should be like the other other menu items, hover and active white, dormant =transparent.

<li id="menu-item-2952" class="fa fa-search menu-item 
menu-item-type-post_type menu-item-object-page menu- 
item-2952"><a title="Search Adsler" 

I tried:

a [href="https://adsler.co.uk/search-adsler/"] 
{background-color: transparent !important; color: black;}

Didn’t work.

add comment

0 Answer

Your Answer