• Hello guys,

    I know this is probably easy, but it would be awesome if you could help me out. I change the background color behind my primary sidebar and navigation sidebar. You can see that it is BLACK. How do I change this color? I’ve been messing with my style sheet, but I can’t seem to get it.

    Also, does anyone know how I can center my site in the middle of the screen?

    Thanks in advance!

Viewing 5 replies - 1 through 5 (of 5 total)
  • There is no such thing as position:center;.

    Use .site { margin: 0 auto; } instead to center the page.

    You can change the color of the black header here

    .site-header {
    background-color: #000;}

    Change #000 to the color you want.

    #secondary {
    background-color: #000;
    }

    Change this color to change the sidebar

    Thread Starter jimmyesl

    (@jimmyesl)

    Lucymothership, thank you so much for your help. You are awesome.

    Can I ask you another questions. How do I get rid of the black lines on my site. Underneath each heading, such as my site title or widget title, there are those black lines/dividers. Any idea of how to get rid of those?

    Thank you,

    James

    No problem.

    Those lines are appearing because there is a border set on your h1 element. Remove the border with:

    h1 { border: none; }

    Thread Starter jimmyesl

    (@jimmyesl)

    Thank you again. Your advice has been really helpful. I got rid of most of them. However, if you look on the right side. There is still a black line/border at top of each widget on content sidebar. I’ve tried a few things, but I can’t get those off. Any advice?

    Also, any advice for turning off the comments only on my front page. I clicked on the ‘comment’ tab in ‘screen options’, but it doesn’t work.

    Really, thanks again for your help

    Looks like you managed with the rest of the black lines?

    Have a look at this thread for the comments issue.

    I’d check all the possibilities first before going with the plugin – it’s best not to use plugins when you don’t need to!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘changing color in my theme’ is closed to new replies.