Ready to get started?Download WordPress


Justify text in articles (2 posts)

  1. alessandro.scoccia.pappagallo
    Posted 1 year ago #


    I need an easy way to justify the text in all my article by default. I tried to set "#content { margin-bottom: 39px; text-align: justify; }" but with this I justified the text in my whole website! Even titles of articles in my home (that is horrible). You can see it here: http://www.youthunitedpress.com/ How can I set the text to be justifies just in the articles body and eventually in the author biography box?

  2. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    .entry might be a suitable selector:

    .entry { margin-bottom: 10px; text-align:justify; }

    for these kind of fundamental formatting problems, try to use a tool such as Firebug to investigate which styles you need to edit;

    or contact the seller of your commercial theme for support with any questions about your theme.

Topic Closed

This topic has been closed to new replies.

About this Topic