• I want to change the bgcolor of one of the tabs in my navigation bar. I want to make the “Write” tab’s background red, so it stands out next to the other tabs. You can see my site at cournalist.com.

    I appreciate any help you guys can offer.

    Cheers!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi

    add to your stylesheet

    #navbar li.page-item-15 a { background-color: red; }
    #navbar li.page-item-15 a:hover { background-color: #548ADA; }

    change “red” to whatever color code you prefer. “red” will work too but you might not like the tone.

    And you can also use this same method to change the colors for other tabs as well if you’d like; just substitute the page numbers with the appropriate matching ones. ??

    Hi,
    I want to change bgcolor , now it is green and I would like to change it into blue.How can I do that and where.You can see my site
    Thanks a lot.

    @hedonist

    to change background to blue:
    First, your green background is presently a background image that adds some texture to the look of the green – its not all a single color. When you change to blue you will have to disable that background image and use a solid blue background color (unless you create an equivalent blue textured background image).

    in your stylesheet /wp-content/themes/{themename}/style.css, on line 11 find this

    body {
    background:#445135 url(images/body.jpg) repeat-y scroll center center;
    color:#161514;
    font-family:Century gothic,Arial,Tahoma,sans-serif;
    font-size:13px;
    margin:0 auto;
    padding:0;
    }

    locate the hex color code for the shade of blue you want and change this line
    background: #445135 url(images/body.jpg) repeat-y center center;
    to this
    background: #123456;
    where #123456 is replaced with the code for the blue you want to use.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to change one tab’s bgcolor in the navigation bar’ is closed to new replies.