Jump to content

Change background color on nav bar


Zazoos

Recommended Posts

Yikes, thought this would be a simple change but I am utterly lost. I would like to change the dark grey color on the default nav bar to a deep blue, but cannot locate where this is controlled.

 

Can anyone point me to the line of code and file?

Link to comment
Share on other sites

it's bootstrap.css

 

.navbar-inner {

min-height: 40px;

padding-right: 20px;

padding-left: 20px;

background-color: #2c2c2c;

background-image: -moz-linear-gradient(top, #333333, #222222);

background-image: -ms-linear-gradient(top, #333333, #222222);

background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#333333), to(#222222));

background-image: -webkit-linear-gradient(top, #333333, #222222);

background-image: -o-linear-gradient(top, #333333, #222222);

background-image: linear-gradient(top, #333333, #222222);

background-repeat: repeat-x;

-webkit-border-radius: 4px;

-moz-border-radius: 4px;

border-radius: 4px;

filter: progid:dximagetransform.microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0);

-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);

-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);

box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);

}

you just need to replace the #colors with your own in RGB format - i.e the blue bar at the top of this forum is #1A4D80

Edited by brian!
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated