-1

I'm running Bootstrap on the Genesis framework on Wordpress. I have a top level navigational bar which I'd like to change from black to white. This was originally Bootstrap but when I put the site onto Wordpress I believe it may have changed to a genesis default.

I've tried changing the class background colour .site-header but it doesn't seem to relate.

Adding a background-color to .wrap seems to change the color of the nav bar but leaves out the buttons, so I believe this maybe a red herring.

Can someone take a look - URL at: https://www.moneynest.co.uk/blog/

Sam Jefferies
  • 584
  • 1
  • 7
  • 27

3 Answers3

1

just try below code and see

.site-header .wrap, header.site-header .genesis-nav-menu a {
    background-color: #6a1010;
}

enter image description here

Rahul
  • 4,294
  • 1
  • 10
  • 12
0

Try this code, I have successfully changed my navbar background color.

.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li      > a:focus {
color: #000;  /*Sets the text hover color on navbar*/
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav >   .active   >   
a:hover, .navbar-default .navbar-nav > .active > a:focus {
color: white; /*BACKGROUND color for active*/
background-color: #030033;
}

.navbar-default {
background-color: #0f006f;
border-color: #030033;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
color: #262626;
text-decoration: none;
background-color: #66CCFF;  /*change color of links in drop down here*/
}

.nav > li > a:hover,
.nav > li > a:focus {
text-decoration: none;
background-color: silver; /*Change rollover cell color here*/
}


.navbar-default .navbar-nav > li > a {
color: white; /*Change active text color here*/
} 
Aditya Raj
  • 168
  • 3
  • 9
0

If you are using bootstrap, check to see whether you have added the .navbar-inverse class. If you have simply replace it with .navbar-default. The .navbar-inverse is a black background based navbar where as .navbar-default is its white counter part.

Alan
  • 217
  • 2
  • 4