WordPress.org

Ready to get started?Download WordPress

Forums

Full justify text? (3 posts)

  1. raygene
    Member
    Posted 6 years ago #

    Hi,

    I noticed that the post text in some themes is full justified and I would like to do the same on the template I use.

    What would I need to modify/add to my style sheet?

    /*----POST----*/

    #container{
    float: left;
    width: 630px;
    padding: 0 0 0 0;
    }

    .post{
    padding: 20px 50px 40px 40px;
    }

    .post h2{
    font-family: Georgia, Sans-serif;
    font-size: 22px;
    padding: 20px 0 0 0;
    }

    .entry{
    line-height: 22px;
    }

    .postinfo{
    font-size: 12px;
    color: #736E60;
    padding: 2px 0 20px 0;
    }

    .postinfo a{
    color: #736E60;
    }

    Thanks,
    Gene

  2. yannisl
    Member
    Posted 6 years ago #

    Just add to your css

    text-align{justify}

  3. raygene
    Member
    Posted 6 years ago #

    Thanks,

    It worked when I did the following:

    .entry{
    line-height: 22px;
    text-align: justify;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic