By default, all the post images have a left alignment
May you help me with the css code to make them centered?
Thanks.
Great theme btw
Hi,
You can align the images in the post content, when editing or creating the post
– https://www.screencast.com/t/8HLXmoG5
Please correct me if I misunderstand something, and provide some more details and examples if possible. Also thank you very much for your appreciation of the theme.
Thanks
Thank you Simon, but I have over two thousand images, editing each post is not an option.
I need a CSS solution, can’t find one yet.
đ
Sure, this is an example, all the images are using class=”alignnone”
If the images are not aligned, then they will be displayed from the left, that would be the default WordPress functionality. You must align them center if you want them to display like that in the post/page content. You could try a code like this to align the not aligned images to center, it will work for such images as this one
– https://www.screencast.com/t/Ad9sLe4ULva
.td-post-content img.alignnone {
display: block;
margin-left: auto;
margin-right: auto;
}
