• I can’t help but notice that nearly all WordPress blogs, running their plethora of WP themes, are center justified. (I’m talking about the whole blog, not just the text or images or headings, which I understand how to left or right justify.)

    Is it possible to left (or right) justify an entire WP blog? Anyone know of any themes which do this? Or would it be a body tag hack, or a css float thing?

    Here’s a test site I’m working on, using StudioPress’ Genesis w/ Lifestyle child theme. I haven’t made any attempts to do the left justify thing yet, but would like to if it’s possible. It runs WP3.1

    https://daisyandtex.com/

    Sorry if this topic has been beat to death already, but I couldn’t find anything on it when searching the forum.

    Thanks,
    Chris

Viewing 3 replies - 1 through 3 (of 3 total)
  • esmi

    (@esmi)

    Remove margin: 10px auto; from:

    #wrap {
        -moz-box-shadow: 0 1px 3px #333333;
        background: none repeat scroll 0 0 #EEEEEE;
        border: 10px solid #FFFFFF;
        margin: 10px auto;
        position: relative;
        width: 960px;
    }

    in style.css

    Thread Starter ChristopherLeeBrown

    (@filmphotoweb)

    Thanks esmi. It took less time to implement your fix than it did to compose my missive of a question. All left-justified: https://daisyandtex.com/

    I have no idea why that worked. I guess I don’t really understand the purpose of the wrap, but it doesn’t make sense to me that the margin of said wrap would determine how the content of the page is justified one way or another. Should I care about this, or just move on to lunch?

    Chris

    esmi

    (@esmi)

    The wrap div is there specifically to allow the page (site container) to be left, right or centre aligned. It also fixes the overall width of the site container.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can WP blogs be left justified?’ is closed to new replies.