WordPress.org

Ready to get started?Download WordPress

Forums

Theme Contempt: How to change background color? (13 posts)

  1. Ksec
    Member
    Posted 8 years ago #

    I try with every variable... ( And logically there isn't much to choose from ) But none of them changes the background color. Anyone has any idea?

  2. moshu
    Member
    Posted 8 years ago #

    I am not familiar with that theme but if it's based on Kubrick the background probably is an image. You'll have to change that image's color :)

  3. chimommy
    Member
    Posted 8 years ago #

    Yep, it's based off Kubrick. There is a bg image that you would have to recolor and in the style.php file under body, you can change the background color from #AAAAAA to the color of your choice.

  4. Ksec
    Member
    Posted 8 years ago #

    Yes i try both and not work. That is why i asked here.

    The bg.jpg is the background colour of the main entry. ( The bottom bit under post. )

    @ Chimommy, i think you mean Style.css? Becoz there is only 2 variable that uses #AAAAAA, which is a Horizontal line under every post. And the part under body is alreay using #FFFFFF....

    I am running out of idea....... may be i missed something so simple........ that i didn't thought of?

  5. moshu
    Member
    Posted 8 years ago #

    What do you mean you've tried both? Did you modify the image in an image editor to another color and it didn't work? (you cannot modify the color of an image from css...)

  6. Ksec
    Member
    Posted 8 years ago #

    I have tried uploading a New colour variant of the bg.jpg .
    That is why i knew the bg.jpg picture is only used at the bottom and edge side of the main entry. But not the whole blogs background colour.

  7. moshu
    Member
    Posted 8 years ago #

    That's a screwed up theme :)
    In the stylesheet on line 75 you have this:
    #page {
    background-color: white;
    border: 1px solid #959596;
    text-align: left;
    width: 750px;
    }

    and then on line 274 again:
    #page {
    background-color: white;
    margin: 0px auto;
    padding: 0px;
    width: 750px;
    border: 0;
    }

    You have to change BOTH "white"... or put all that stuff in one declaration.

  8. Ksec
    Member
    Posted 8 years ago #

    OK... please dont hit me........ but they were both default to white..... And i.e that doesn't work.........

  9. moshu
    Member
    Posted 8 years ago #

    I just changed BOTH to #ff0000 (red) on a testbed of mine and it worked :)

  10. Ksec
    Member
    Posted 8 years ago #

    is your testbed online?

  11. moshu
    Member
    Posted 8 years ago #

    Yes, email me (my name > contact)

    But it's always good to clear the cache, too.

  12. sonet
    Member
    Posted 8 years ago #

    Open image in editor of your choice, change Kubrick background to colour of your choice. Upload and refresha nd it's done. I just did it this afternoon with http://www.southbourneinternet.co.uk/

  13. janicek
    Member
    Posted 8 years ago #

    It's in your header.php file:

    <body style="background: url(<?php bloginfo('stylesheet_directory'); ?>/images/blue_flower/bg.jpg) repeat-y top center #AAAAAA fixed;">

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.