Tagged: ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #2136

    Hello all,

    I’m using Habitat theme. I’m looking to move everything in the white middle area down so that more of the background is viewable at the top of the website. This is so I can design a nice background image as a header. So basically everything in the white blog area ‘main part’, menu and sidebars etc will be moved down?

    Is this possible by editing the style.css ? ?

    The other thing I would love to be able to do is have a different background per page/Category? Is this possible?

    Thanks for any help.



    You can adjust the spacing at the top of the page by adding this to the end of style.css:

    #wrap_all {
    margin: 50px auto 0;

    Adjust 50px to whatever value you need depending on the image you have as the background.

    For category specific background, you can use the body class to set the background on a per page basis. If you view the source of a page for example, http://kriesi.at/themes/habitat/category/infos/ the body classes set are archive, category and category-infos. In this case, the category specific tag is category-infos and this CSS could be used to specify a particular background:

    .category-infos {
    background: #0000FF;



    Thanks for the reply but the first one doesn’t work. I added the code to the bottom of style.css and tried different px values but nothing changed on the website? Any other suggestions?

    I’ve not tried the different backgrounds yet but I’ll let you know how that one turns out.

    Thanks for your help.


    Just change the padding value of .boxed in style.css: At the moment it looks like:

    position: relative;
    margin:0 auto;
    padding:15px 0;

    Set 15px to an higer value like:

    position: relative;
    margin:0 auto;
    padding:50px 0;


    Thanks dude! That didn’t work in style.css but I realised I was using style2.css and changed that so it works perfectly now. Thanks guys!


    Glad that I could help you.

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Move main blog area down? & Multiple backgrounds?’ is closed to new replies.