Backround color in a fixed width theme

  • Author
    Posts
  • #449952

    iankaravas
    Member

    I read that changing the background color in a fixed width blog was relatively simple, as modifying the color from white should not alter the content background color. however, when i modified it (to change it from white to black) everything turned black. I wish to change the background (only on the sides) outside of my content to black, to make the website easier on the eyes. any help would be appreciated. I’ve been messing with a few things and couldn’t get anything to work

    im using the cutline theme

    The blog I need help with is fucknoiserock.wordpress.com.

    #450062

    I’m looking for an answer to the same question. Thanks for posting it. I hope someone responds. :)

    #450130

    timethief
    Member

    @anatomyofabinge
    Will you please provide the URL for the blog in question?

    @iankaravas and anatomyofabinge
    Please read this post while waiting for help.
    http://csswiz.wordpress.com/2009/10/15/if-you-have-the-wp-com-css-upgrade/

    #450133

    devblog
    Member

    iankaravas,

    Try this:

    body {background: #000;}
    
    #container {
    background: #fff;
    overflow: hidden;
    }
    
    #content {padding-left: 10px;}
    
    #sidebar {margin-left: -10px;}

    Just in case, that’s the only code that should be in you CSS editor, unless of course if you add/change more selectors.

    #450196

    iankaravas
    Member

    that worked brilliantly! thanks devblog. I didnt use #container thats prob why it messed me up.

The topic ‘Backround color in a fixed width theme’ is closed to new replies.