Centering of images in a post

Home Support PT Magazine Centering of images in a post

Tagged: , ,

This topic contains 9 replies, has 7 voices, and was last updated by   2 months, 2 weeks ago.

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

    Anonymous

    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

    Anonymous

    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

    #19312

    Anonymous

    You can insert the image in your post by uploading on media option. I have done the same job for my blog, you can see here https://bestcleatsreviews.com/

    #19344

    Anonymous

    Can we insert the scripts code in dynamic page? I want to try for my martin page, you can see here https://jacobmartin.com/

    #19810

    Anonymous

    Yes I remember when I faced this issue in my https://onlydoodles.com/ blog I took guide from WordPress experts to manage this image issue.

    #20095

    Anonymous

    I want the same feature in my post of feature image. I’m working on kitchen renovation company website page, you can see here https://impressionskitchens.com/condo-kitchen-renovation-company/

    #20952

    Anonymous

    i also faced this issue in my blog https://shoesadvice.com/ WordPress experts helps me to fix it.

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

You must be logged in to reply to this topic.