Setting Color On Navigation Panel

Posted in: Newspaper
Post count: 28

Hello,

When mouse hovers over a parent navigation tab, I want the back ground color and text
color to change, on that tab.

I want this only for the Parent tab. Here’s a screen https://www.dropbox.com/s/poyb7cpa1u7bewi/nav%20tab.jpg?dl=0

Thank you
Neevin

Post count: 20688

Hi,

A code like this will make the header menu items change background color and font color only on hover, as you mentioned (use the colors you want)
https://www.screencast.com/t/r4blu480

#td-header-menu .sf-menu > li > a:hover {
background-color: red;
color: white;
}

Enter it in Theme panel->Custom CSS if you decide to use it.
You can use the browser inspector to identify the elements on the website and the classes used, to create custom code. This is a guide
https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/

Thanks

Post count: 28

Thanks for the help Simion.

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.