This topic has 14 replies, 6 voices, and was last updated 6 years, 7 months ago ago by Rose Tyler
Hi, when we post blogs, the images are all left aligned, even when we select center in the alignment when we add the image. Please help?
You can see this in the current blog that is set as a draft Featured Fan, where in preview it’s all still left aligned. I had this happen with other blogs we’ve posted as well. They all left align images.
Hello,
Please try to add the following code in custom css and check it.
.blog .aligncenter{
margin: auto;
display: table;
}
Regards,
Robert Hall.
Won’t that change the ENTIRE blog to align center though? We just want to be able to change the alignment of photos so that they aren’t all forced to align right or left.
Hello,
Your blog page won’t be centered, only images.
Please try the code.
Regards,
Eva Kemp.
I’ll try but we don’t want all the images centered ALL the time. We want to be able to do left, right, or center based on what makes the most sense for that image. Right now we can only do left align.
Hello,
The class “.aligncenter” in the code is referred only to images that are centered, not for those that are left or right aligned.
Regards,
Eva Kemp.
Tried – still not centered.
Hello,
As I see image is centered:
http://storage8.static.itmages.com/i/15/1007/h_1444204853_4116418_66fda22fc1.png
Please clear browser cache and check again.
Best regards,
Jack Richardson.
Images on actual blog posts are not centered as you can see here:
http://www.onefoolove.com/beauty/your-skin-needs-more-of-these-nutrients/
Hello @KellyKade,
It depends on your settings for the content.
Please check “test post” on your site.
Regards
I have no idea what you mean by “test post”
And I have not touched any settings. I am using the theme as delivered.
Dear @KellyKade,
I’ve created “test post” on your site http://prntscr.com/jagc5w. Please compare settings of your post http://prntscr.com/jagctu and the new one https://prnt.sc/jagdaa
Regards
Never mind. It WAS a coding issue that I figured out and have added to my CSS.
Hello @KellyKade,
I am glad that you sorted out.
Regards
Tagged: best selling, blog posts, centering, images, persuasive, themes, woocommerce
You must be logged in to reply to this topic.Log in/Sign up