Header Menu Background color
-
I wanted to change my header menu background color
Like if put my cursor in my “Home” page , it will change like this one
http://fullmoviewatchonline.com/
so i did this but not working , im not sure what to change actually
// Styling: Header Menu Background
array(
‘id’ => ‘color-header-menu’,
‘label’ => ‘Header Menu Background’,
it was blank before ‘std’ => ‘#000000’,
‘type’ => ‘colorpicker’,
‘section’ => ‘styling’,
‘class’ => ”
-
Hi najrj89.
i did this but not working
Where did you get that code? And what exactly did you do with it? And if you could post a link to your site that would be helpful. Thanks.
In theme options
So, in Theme Options > Styling, you set the Header Menu Background to #000000? And now, when you hover over the Home menu item, you want the background to turn red?
Yes ..like the above website
Try adding this to your child theme or custom css:
/* main menu hover background red */ #nav-header .nav li:hover { background-color: #f00; }i did add this code in custom css…nothing has changed
Comments in css are delineated by /* and */. The code you posted is missing the two /. When WP reads that line it doesn’t know what it is. That creates an error condition and everything below that is ignored.
It worked
Thank you so much
The topic ‘Header Menu Background color’ is closed to new replies.
