Centering of images in a post

Home Support PT Magazine Centering of images in a post

Tagged: , ,

This topic contains 3 replies, has 2 voices, and was last updated by  ProDesign Support 6 months, 1 week ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #12320

    gbwaye
    Participant

    Even though in the editor we select to center an image, when the page is displayed, the images are left aligned. I’ve tries applying additional CSS to center things, but I’ve had no luck. Can you help?

    You can see the left aligned images which would be centered, on this page as an example:

    Gojira + Rolo Tomassi + Dead Label @ Brixton Academy London

    Thanks!

    #12345

    Hello Gbwaye,

    Greetings of the day!

    Follow the below steps to add custom CSS.

    1) Please log in to the admin area
    2) Go to “Appearance >> Customize >> Additional CSS”.
    3) Paste the below code in “Additional CSS” and save it afterward:

    @media only screen and (min-width: 768px){
    .entry-content > .aligncenter, .entry-summary > .aligncenter {
        margin-left: auto;
        margin-right: auto;
    }
    }

    Hope this helps.

    Feel free to get in touch in case of other queries.

    Thanks and Regards,
    Team ProDesigns

    #12376

    gbwaye
    Participant

    Thanks so much for this, it worked!

    #12380

    Hello Gbwaye,

    You are welcome!

    Feel free to get in touch in case you have other queries.

    Have a great day ahead.

    Thanks and Regards,
    Team ProDesigns

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.