NavBar Color Changes
What is the custom CSS I need to add to change the colors of the navigation bar? I need to set a normal color and a hover color.
|
Re: NavBar Color Changes
I need to change all 3 colors and I'm having a hard time locating the proper CSS code. I need the normal color, the hover color and the active color. The font color can stay the same.
|
Re: NavBar Color Changes
Dave can you post a link to the page? Then we can inspect your CSS.
|
Re: NavBar Color Changes
This is the code I use to make it green:
/* nave bar color */ .navbar-inverse { background-color: #4C6E14; border-color: #164801; } |
Re: NavBar Color Changes
Further, I use this to control the font size of the navbar:
/*navbar text*/ .navbar-nav > li > a { text-decoration: none; text-align: center; font-size: 0.8em; padding-left: 25px; padding-right: 25px; } |
Re: NavBar Color Changes
Try this. You may want to change the actual colors though.
Code:
.navbar-inverse { |
Re: NavBar Color Changes
Thanks guys. The site is www.justretrogames.com. I was able to get most of the colors correct. Please see the code below. For some reason I still see a dark grey remnant when I click on links sometimes. What am I missing?
Code:
/* Sets color of navigation bar in mobile */ |
Re: NavBar Color Changes
The dark gray background comes from this rule:
Code:
.navbar-inverse .navbar-nav > li > a:hover, You should add rule that will override styles defined for ".navbar-inverse .navbar-nav > li > a:focus" selector. |
Re: NavBar Color Changes
Ok that did it. Thank you!
|
All times are GMT -8. The time now is 08:35 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.