Center Feature image on Category page

Posted in: Newspaper
Post count: 127

I am using Cloud templates and would like to center the feature image that is displayed on our category page. This is currently using Post Loop Block. Please advise.

https://dev.districtadministration.com/category/web-seminars/

Screenshot frontend: https://www.screencast.com/t/deSNpg6Y3Wc
Screenshot backend: https://www.screencast.com/t/V6npViDkQ8

Post count: 27744

Hello,

Please check if you have set an image width for the posts loop -> https://i.imgur.com/NA1aLxG.png please delete it.

Thank you!

Post count: 127

We need to set a max width and also have this centered. How do you suggest we accomplish this? Thank you.

Post count: 127

I was able to resolve this by adding some CSS. By adding the CSS I am able to control the size and still have the image centered.

/*—-Cateogry Images Centered—*/
.category-web-seminars .tdi_86 .td-image-container {
margin-left: auto!important;
margin-right: auto!important;
}

Post count: 27744

Hello,

I’m glad you find a solution.

Have a nice weekend!

Post count: 27744

Hello,

I’m glad you find a solution.

Have a nice weekend!

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.