Archived topic
featured images in archives
7 replies · Started by Leo on April 26, 2021
Hello,
I have a question regarding the placement of featured images in archives. I would like to have them left-aligned (just like all images in my posts), but when I do so the read more text appears next to it. This is also true for the right-aligned option. The read more text only appears underneath the featured image when the image is set to centered, but centered images are not really consistent with the general layout of my blog.
Is there an option to set the read more text underneath left aligned featured images? I have set a fixed size for the images (the same size as they appear in the posts). I have studied the "feature images options" (Customizer > Layout > Blog) but have not found such a setting. Does it require additional CSS?
Many thanks.
Leo
Hi there,
it will require a little CSS - do you have a link to where i can see the archive with images ? Just need to check the placement for the correct CSS
Hello David,
Thank you for your prompt reply. I am sending you the access details for my website in the private information section below.
Many thanks!
Regards
Leo
I am not seeing any featured images in the archives ? Can you set them to display - leave the alignment centered - but set you position either above or below title.
Dear David,
Sorry, I did not realize they had to be displayed. I have now changed the settings according to your instructions.
Thank you so much.
Leo
Try adding this CSS to the site:
.post-image-aligned-center article .post-image {
text-align: left;
}
Great, that works! Thank you, David.
Kind regards,
Leo
Glad to be of help