Support » How-To and Troubleshooting » [Resolved] How to align text on both sides with images in the post

[Resolved] How to align text on both sides with images in the post

  • Hi folks,

    I’m new to word press and trying to edit my first post but quickly ran in to problems, i have a post with few images in it but the text around the image only aligns to left or right but doesnt align on the both sides. I’m using Oxygen theme, not sure how to go about fixing it

    Need some help here…


Viewing 6 replies - 1 through 6 (of 6 total)
  • WPyogi


    Forum Moderator

    Can you post a link to a page where this happens?

    I have not hosted the site , Its on my local pc. Im trying to align text like the way it’s done here

    If you notice, right next to image the text is very nicely aligned on the left and right but when I try to do the same it only aligns right,left or center leaving one end un aligned.

    8 Secrets To Writing Faster Blog Posts [Infographic]

    Please look for text next to image , I’m trying to align it just like that



    Forum Moderator

    Okay, but just FYI, justified text is generally not recommended for websites. You should also be using a custom CSS plugin or child theme to make changes to your CSS. Jetpack is a good option for a plugin. Otherwise your changes will be overwritten and lost when the theme is updated.

    That said, you can change the alignment by adding this to the custom CSS (or the bottom of your existing stylesheet):

    p {
        text-align: justify;

    Thank you your help , WPyogi.

    The theme(oxygen) I’m using provides option to add custom css, I have updated the above code but still the same, it continues to align the text only on the left…

    I also downloaded the jet pack plugin and tried using the custom css option but it throws up error ” You do not have sufficient permissions to access this page. ” after clicking on edit css button.

    looking for some further help…

    I updated the code directly on style.css document of the theme and it worked, thank you for your time.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] How to align text on both sides with images in the post’ is closed to new replies.
Skip to toolbar