Images won't center in blog posts - by CJMillar82

This topic has 14 replies, 6 voices, and was last updated 6 years, 6 months ago ago by Rose Tyler

  • Avatar: CJMillar82
    CJMillar82
    Participant
    October 5, 2015 at 18:18

    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.

    Please, contact administrator
    for this information.
    13 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    October 5, 2015 at 18:37

    Hello,

    Please try to add the following code in custom css and check it.

    .blog .aligncenter{
        margin: auto;
        display: table;
    }

    Regards,
    Robert Hall.

    Avatar: CJMillar82
    CJMillar82
    Participant
    October 5, 2015 at 21:16

    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.

    Avatar: Eva
    Eva Kemp
    Support staff
    October 6, 2015 at 08:48

    Hello,

    Your blog page won’t be centered, only images.
    Please try the code.

    Regards,
    Eva Kemp.

    Avatar: CJMillar82
    CJMillar82
    Participant
    October 6, 2015 at 15:42

    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.

    Avatar: Eva
    Eva Kemp
    Support staff
    October 6, 2015 at 15:47

    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.

    Avatar: CJMillar82
    CJMillar82
    Participant
    October 6, 2015 at 19:05

    Tried – still not centered.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    October 7, 2015 at 09:01

    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.

    Avatar: Kelly Kade
    KellyKade
    Participant
    April 25, 2018 at 16:14

    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/

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 26, 2018 at 08:38

    Hello @KellyKade,

    It depends on your settings for the content.
    Please check “test post” on your site.

    Regards

    Avatar: Kelly Kade
    KellyKade
    Participant
    April 26, 2018 at 15:59

    I have no idea what you mean by “test post”

    And I have not touched any settings. I am using the theme as delivered.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 26, 2018 at 16:05

    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

    Avatar: Kelly Kade
    KellyKade
    Participant
    April 26, 2018 at 16:13

    Never mind. It WAS a coding issue that I figured out and have added to my CSS.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 27, 2018 at 07:36

    Hello @KellyKade,

    I am glad that you sorted out.

    Regards

  • Viewing 14 results - 1 through 14 (of 14 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.