Jump to content


Photo
- - - - -

Navbar background color

navbar background color

  • Please log in to reply
1 reply to this topic

#1 ylvaholn

ylvaholn

    Newbie

  • Members
  • 9 posts

Posted 09 October 2012 - 12:32 PM

Hi, I would like to change the background color of my navbar on my first page to transparent and can't seem to get it to work. Any ideas?


my site i ulfholgersson.se

#2 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 09 October 2012 - 02:11 PM

You’ll need to use Custom CSS (in Site Options > Custom Code > Custom CSS). CSS that changes the style of a page element consists of two parts: the selector and the attribute.

Selector: Used to select the page element you want to change (in this case, the page element you want to change is your navbar background color).
Attribute: Property that determines what kind of change you want (you’re changing the background color, so the attribute you want to use is background).

To find the selector for navbar, you'll need to use Firebug (or Chrome Development tools). To learn how to use Firebug for CSS customizations, please read and follow these instructions:

Please Login or Register to see this Hidden Content



For help with the background attribute, please see these instructions:
http://w3schools.com/css/css_background.asp (instead of using a hex code color you'll use: none)





Also tagged with one or more of these keywords: navbar, background color