Archived topic
Center Align Featured Image
6 replies · Started by mizzymac on November 1, 2015
Hi Tom
Hoping you can pls assist.
I would like to center-align the featured image when it is seen from the home/blog page.
http://vitalityj.com.au/
If you scroll down to The Baby Diaries post- you can see that the featured image is left aligned.
I've scrolled through many support threads but can't seem to locate this anywhere.
Thanks in Advance
regards
Hi there,
Our Blog add-on allows you to align the post images.
You can also use some CSS like this:
.post-image {
text-align: center;
}
Hope this helps :)
Hi Tom
I'm using Generate Blog to show my post featured images center aligned.
On my blog page they are showing well, but they are showing left aligned in the post page.
I tried the CSS you told but isn't working.
How can I solve it?
Thanks in advance
For the single post, try this CSS:
.page-header-image-single {
text-align: center;
}
Thanks Tom, It works!
I was doing some tests and the next CSS worked too
.page-header-image-single {
text-align: center;
}
Regards!
oops!
The other working CSS is
.generate-page-header {
text-align: center;
}
Awesome! :)
