Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #1252430
How to Justify Body Text
Closed

Comments

  • lydia started the conversation

    I would like to justify my body text (example on the url provided). It's currently left aligned and when i add css to justify the element p its justifies everything including the page title. I only want to justify the body text not everything on the page.

  •  7,123
    Oliver replied

    HI!

    pls. use following css:

    p {
        text-align: justify;
    }
    

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  • lydia replied

    Hi Gregor, thank you for the quick response.

    I had tried that but it justifies everything including page title. I have added the justify css and this is what it does: Please see

    http://www.nairobilighthouse.com/nlc/networks/citylights/

    I just want only the body text to be justified not everything on the page.

    Thanks.

  •  7,123
    Oliver replied

    HI!

    use this:

    .wpb_text_column p {
        text-align: justify;
    }
    

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  • lydia replied

    Thank you Gregor it worked.

  •  7,123
    Oliver replied

    Welcome!

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver