Viewing 8 replies - 1 through 8 (of 8 total)
  • Just add this to any css elements (such as #content) that need to be left-aligned into your theme’s style.css:

    text-align: left;

    Or if you want full justification (align left and right margins):

    text-align: justify;

    First, the following in the head of your header.php doesn’t help. In fact, it hurts:

    <p align="left">

    Remove it immediately. Honestly.

    After you’ve done that check this validation of your site and fix the boo boo. That will clean up what might be causing the trouble.

    I found the “text-align:center” in several places in your CSS but the truth is that if you have a non-closed div somewhere, it could be applying this centered style through to your post.

    Finding Your CSS Styles might help you find the problem style.

    Thread Starter kenzaretzky

    (@kenzaretzky)

    Thank you!

    I am having the same problem. For some reason, all my post text is centered. The theme came like this, so it has a mistake.

    I don’t know CSS super well, but I have been looking and looking, trying to figure out what is wrong and I just can’t.

    Can anyone help me??

    My blog: http://www.natural-menopause-relief.com/blog

    There is not #content tag but the #body tag appears OK:

    body {
    font-family: ariel, helvetica, sans;
    font-size: 62.5%;
    color: #555;
    text-align: left;
    margin-top: 0px;
    background: #F7F7F7 url(images/background.jpg) repeat-y center top;
    }

    /* The body * will remove all default browser styles */

    body * {
    margin: 0;
    padding: 0;
    text-decoration: none;
    border: none;
    color: #444;
    list-style-type: none;
    font-weight: normal;
    text-align: left;
    }

    Thank you!!!! I’d appreciate any hint at all.

    Lauren

    @seogirl, the link you provided doesn’t work.

    Weird, clicked on it and went right there… ?

    Here it is pasted directly from my browser:

    http://www.natural-menopause-relief.com/blog/

    Thanks for looking!!

    Add to the
    #left_col p in css file
    text-align: left;

    moshu,

    Thank you SO MUCH! That did it. I would have NEVER figured that out.

    By the way, I just found your “Visual Anatomy of a WP 1.5 Theme” and I’m going to really study it. My goal is to really learn these blogs, even though I’ll probably never be a PHP programmer or totally figure out CSS. Thanks for doing that.

    seogirl

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Text Justification’ is closed to new replies.