• Resolved tbehrservices

    (@tbehrservices)


    I have the 2.0 theme.. I can get the featured image to center on the blog pages but on the main “home” page they are left justified. They used to be center and then after an update they went left. I have tried several pieces of coded in the “Additional CSS” and cannot get it to move..

    the website is http://www.embellishedrental.com

    also is there a way to just center the featured image on the blog page and not any other images inserted..
    thanks Terry

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi there,

    Could you please add this css on child theme style.css or Additional css section of customizer. This will prevent your changes to lost on theme update.

    .home .entry-header {
        text-align: center;
    }

    Let us know how it will goes.

    Thanks

    Thread Starter tbehrservices

    (@tbehrservices)

    didn’t help… say no effect.. I am currently using this is the “Addition CSS section”
    it centers the image in the post but not on the main page..

    .single .post img { display: block; margin: 0 auto 20px; }

    this used to work till a update occurred.. I think it was a WP update versus theme update but I am not sure..

    Terry

    Hi tbehrservices,

    We had reviewed your site and found that you have not added those css we had provided you on last reply. Please add those css and let us know, so we can give you the other option.

    Thanks

    Thread Starter tbehrservices

    (@tbehrservices)

    I added the code, and what I found is I had to log out of wp-admin to see the change.. it didn’t reflect in the edit panel.

    thanks.. then I found the image in the post wasn’t centered after I had removed my old patch..
    so I added this back in .single .post img { display: block; margin: 0 auto 20px; }
    after your code snippet.. now all is fine..

    thanks much
    Terry

    sounds Great, Thanks for your cooperation and patience.

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

The topic ‘Featured Image not centered on main page’ is closed to new replies.