Title: Justify text in posts
Last modified: August 18, 2016

---

# Justify text in posts

 *  [rebekkah](https://wordpress.org/support/users/rebekkah/)
 * (@rebekkah)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/justify-text-in-posts/)
 * Is there a way that I can get my text to align justify instead of align right
   in my posts?
    current format is here… [http://www.wordmadeflesh.ca](http://www.wordmadeflesh.ca)–
   Rebekkah

Viewing 15 replies - 1 through 15 (of 15 total)

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/justify-text-in-posts/#post-105663)
 * It’s aligned left, not right 🙂
    In CSS you can change that by adding justify
   to the `p {...`
 *  Thread Starter [rebekkah](https://wordpress.org/support/users/rebekkah/)
 * (@rebekkah)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/justify-text-in-posts/#post-105666)
 * That’s what I meant 🙂 Thanks
 *  [starritt](https://wordpress.org/support/users/starritt/)
 * (@starritt)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/justify-text-in-posts/#post-105668)
 * Add the following line to your CSS file withing #content. It may already be there
   as The text-align: left; in which case edit it. Don’t change anything else 😀
   
   The text-align: justify; Example … #content { position:relative; text-align: 
   justify; font: 80% Tahoma, Arial, Serif; }
 *  Thread Starter [rebekkah](https://wordpress.org/support/users/rebekkah/)
 * (@rebekkah)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/justify-text-in-posts/#post-105677)
 * Ah, perfect. Now I just have to figure out how to decrease the space between 
   my posting area and my menu area. Working on that now, anyone with a quick explanation?
 *  Thread Starter [rebekkah](https://wordpress.org/support/users/rebekkah/)
 * (@rebekkah)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/justify-text-in-posts/#post-105678)
 * Nevermind, found it 🙂 Thanks for all your help
 *  [ifinci](https://wordpress.org/support/users/ifinci/)
 * (@ifinci)
 * [21 years ago](https://wordpress.org/support/topic/justify-text-in-posts/#post-106424)
 * Is there a way to do this per post?
 * My Blog contains posts in English, which I want to be justify to the left (as
   they are currently), and post in Hebrew, which I want to align to the right.
 *  [daiver](https://wordpress.org/support/users/daiver/)
 * (@daiver)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/justify-text-in-posts/#post-106445)
 * This is what I have in my CSS:
 * #content {
    float: right; width: 500px; background: #ffffff; margin: 0 10px 0
   0; display: inline; }
 * How do I get it to justify? I cant seem to find that part that staritt posted.
 *  [vkaryl](https://wordpress.org/support/users/vkaryl/)
 * (@vkaryl)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/justify-text-in-posts/#post-106446)
 * daiver, you need to add the “text-align: justify;” element to your #content since
   it’s not there already. Leave off the double-quotes!
 *  [daiver](https://wordpress.org/support/users/daiver/)
 * (@daiver)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/justify-text-in-posts/#post-106447)
 * Just put that in the bottom and the magic happens?
 *  [daiver](https://wordpress.org/support/users/daiver/)
 * (@daiver)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/justify-text-in-posts/#post-106448)
 * Well, magic didnt happen. heh. Its still aligned left. I wonder if Rin places
   this code elsewhere.
 *  [Lorelle](https://wordpress.org/support/users/lorelle/)
 * (@lorelle)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/justify-text-in-posts/#post-106449)
 * The answer to an eariler question in this thread is how to align content left
   or right based upon language.
 * If you set all your Hebrew (or whatever right aligned language) posts in a specific
   category, and English in another category, you can use a query that checks to
   see which category is being viewed, and the header will be changed dependent 
   upon the category. The header contains the style sheet reference which would 
   include the styles needed to accommodate the switch in direction.
 * The simple technique is explained [here](http://www.cameraontheroad.com/?p=623)
   and there are probably other ways of doing it but this is just too easy to do.
 *  [daiver](https://wordpress.org/support/users/daiver/)
 * (@daiver)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/justify-text-in-posts/#post-106450)
 * Found this:
 * #container {
    width: 750px; margin: 10px auto; background: #f5f6f7; border-left:
   1px solid #d5d7db; border-right: 1px solid #d5d7db; font-family: Verdana, Arial,
   Helvetica, sans-serif; font-size: .70em; text-align: left; /* IE hack Part 2 */
   border-top: 15px solid #d5d7db; border-bottom: 15px solid #d5d7db;
 * Could it be there?
 *  [daiver](https://wordpress.org/support/users/daiver/)
 * (@daiver)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/justify-text-in-posts/#post-106451)
 * Lorelle, I just write in spanish so I just want all posts to be justified. Cant
   beleive I cant find this on my own. lol
 *  [vkaryl](https://wordpress.org/support/users/vkaryl/)
 * (@vkaryl)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/justify-text-in-posts/#post-106452)
 * ifinci, this can probably be done, but might require a lot of mutzing around.
   Might be better to add a quicktag to handle per-post justify; I know there’s 
   some info in the [codex](http://codex.wordpress.org/codex) about it, can’t find
   it real quick, just do a search for “add a quicktag”….
 *  [daiver](https://wordpress.org/support/users/daiver/)
 * (@daiver)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/justify-text-in-posts/#post-106453)
 * OK. I found the solution. Thanks!

Viewing 15 replies - 1 through 15 (of 15 total)

The topic ‘Justify text in posts’ is closed to new replies.

## Tags

 * [align](https://wordpress.org/support/topic-tag/align/)

 * 15 replies
 * 7 participants
 * Last reply from: [daiver](https://wordpress.org/support/users/daiver/)
 * Last activity: [20 years, 9 months ago](https://wordpress.org/support/topic/justify-text-in-posts/#post-106453)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
