Support » Themes and Templates » center blog on page

Viewing 8 replies - 1 through 8 (of 8 total)
  • In order to center a template, add this to the div you want to center:

    margin-left:auto;
    margin-right:auto;

    If you want to add some space on either side of the blog, then you should add padding to the body element. Good luck working it out!

    A little scrunched, but it’s centered; though you might try setting a left: property for your content, so it’s not laid behind the menu.

    What are you hoping for it to look like at 800×600?

    I tried that margin auto but it didn’t work. Just put everything to the left. Even when setting the width of content and rap to same.

    Did you set the width of the divs in CSS? Take a look here for a template I dont use anymore that is centered : http://www.oolio.com/

    I don’t have any divs listed in the css. I just used the default temp and changed it and added a rap in the css to center it. I am complete lost with centering it to be honest. I have tried everything. The best I can get is what you see on the site.

    Looks centered to me on Firefox 1.0.

    Andrea Rennick

    (@andrea_r)

    Customer Care at Copyblogger Media and Studiopress

    In your css file, try adding this:


    body {
    text-align:center;
    }

    #rap {
    margin:0px auto;
    text-align:left;
    background: white;
    } ‘

    Not Still looks crappy

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘center blog on page’ is closed to new replies.