• Resolved chinamash

    (@chinamash)


    Hello – I’ve searched repeatedly, looked at the resources of the codex, and tried to fix this myself. I think it’ll take someone with a knowledge of HTML to help me figure this out and I’ll be very greatful

    On my sidebar the bigger font words are the correct color that I’m going. The smaller font words are white however which I’d like to change into a darker gray. I already know the code of the color I want to use which is #333333 gray but I’m having trouble finding which bit of code to change! I’ve tried just about every color entry in the style sheet and still can’t find what it is.

    Here’s the site in question: http://chinamash.com

    I can provide the code as well if anyone is interested in helping. It’s a really simple theme and the code is short. If anyone wants to help than I”ll post it.

    Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Your question deals with CSS more than HTML, but close enough. In your stylesheet, you have this:

    a{
    color: white;
    text-decoration: none;
    }

    Change “white” to whatever color you want. But that will change the colors of every link on your site. If you only want to change the color of the links in that sidebar, don’t change that “white” and paste this immediately after what’s above:


    #navcol a{
    color: #333;
    text-decoration: none;
    }

    That way, only the links in that sidebar will be that #333 color.

    Also, in your code, immediately below <div id="navcol'> you’ve got an unnecessary </ul> that you should delete. There are a few other things you could do to consolidate your CSS, but the change I point out above should get you rolling. Post back if that’s not the spot.

    Thread Starter chinamash

    (@chinamash)

    tsguitar – Thank you very much! Thanks to you the problem is fixed. I really appreciate it.

    Question – what’s the benefit of consolidating the CSS code?

    I’m glad that worked for you.

    The things I’d suggest would make your CSS easier to read. They would also make it easier for you (and others) to work on, add to, or modify your CSS. They would probably shrink the file size a bit. Contact me through the contact form on my site. This probably isn’t the best place to carry that conversation, though, since it’s not a WordPress support issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Color of Sidebar’ is closed to new replies.