Community Forums › Forums › Archived Forums › Showcase and Feedback › Change NAV color
- This topic has 6 replies, 3 voices, and was last updated 10 years, 10 months ago by
agapeonline.
-
AuthorPosts
-
January 28, 2013 at 12:19 pm #15597
agapeonline
MemberPlease help me change the background color of my NAV bar to bar. I want white letters on black background. I've been trying to figure out Firbug to no avail http://epinkusfineart.com/
January 28, 2013 at 12:45 pm #15601Anita
KeymasterLook for this around line 147. Remove the GIF. You could just put background: #000000; in that line all together.
#nav ul, #subnav ul, #header ul.nav, #header ul.menu {
background: url("images/menu_bg.gif") repeat-x scroll 0 0 transparent;
border-left: 0 solid #000000;
border-right: 1px solid #E4E9ED;
float: left;
margin: 0;
padding: 0;
}
Love coffee, chocolate and my Bella!
January 28, 2013 at 12:50 pm #15602marybaum
ParticipantI've never been sure what the big whoop about Firebug is. I greatly prefer the command Inspect Element in either Chrome or Firefox (key command cmd-opt-I or ctrl-alt-I in either browser), which will target the exact element you're looking to change - just select that element with the Controle key if you're old-school like me on the Mac and don't like to right-click, or right-click if you're a young whippersnapper who uses two buttons. (I turn the second button OFF. On the Magic Mouse, once right-click is enabled, I find I can't left-click anymore! So, old-school, one-button-only is how I roll.)
In your case, the nav elements are on line #192 of style.css, and I see that your hover style already has the black background and white type you want.
It may be that you actually want to look at some other rules in that vicinity on your style sheet - I presume you know that when you find the precise element you want to target, you want background: #000; and color: #fff; - but just in case, that's what you paste in.
Hope that helps!
Sharing the good news about the wonders of modern CSS and the split-step. Either one should get you moving fast. 😀
January 28, 2013 at 12:59 pm #15605Anita
KeymasterI see you got it... now if you want to remove that white line on the Nav on the end look for this code - change the border-right to black (#000000)
#nav ul, #subnav ul, #header ul.nav, #header ul.menu {
border-left: 0 solid #000000;
border-right: 1px solid #E4E9ED;
float: left;
margin: 0;
padding: 0;
}
Love coffee, chocolate and my Bella!
January 28, 2013 at 1:03 pm #15609agapeonline
MemberThank you guys SOOO much. I should have asked and save myself 2 hours 🙁 - but I was so eager to understand Firebug. Thank you so much.
January 28, 2013 at 1:30 pm #15618Anita
KeymasterYou're welcome. I love Firebug. If you would like a short tutorial on it one day/evening - email me on my website and we can set up a virtual meeting.
Love coffee, chocolate and my Bella!
January 28, 2013 at 2:34 pm #15678agapeonline
MemberThank you. I surely will take you up on it.
-
AuthorPosts
- The forum ‘Showcase and Feedback’ is closed to new topics and replies.