• Resolved Reneenb14

    (@reneenb14)


    Can you tell me if your plugin has anything to do with my images not center-aligning whenever I create a page?

    Three weeks ago all my images where aligned centered but when I activated your plugin about a week ago and I happen to look at one of my pages today I noticed the image was no longer centered. It moved three of my images to the left on three of my pages.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hey @reneenb14,

    Hope you’re well.

    Smush is not affecting your website codes, only compress your image files, so it shouldn’t cause that problem. Also, when I check the URL you shared, I see the image is centered. Is the problem still continue?

    Cheers,
    Oguz

    Thread Starter Reneenb14

    (@reneenb14)

    No, the problem is not fixed. I added in some code to get them to center align. My contact page image is not centered. It’s showing centered in the editor but when I save and go out to preview, the image is to the left. This is only happening when I make a page and add an image. It doesn’t affect any post I make.

    This is my contact page:
    https://curlupwithromance.com/contact/

    Hello @reneenb14

    Hope you’re doing well!

    Please add the following CSS code to Appearance > Customize > Additional CSS

    .jetpack-lazy-images-js .jetpack-lazy-image {
        display: block !important;
    }

    Let us know how it went!

    Cheers,
    Nastia

    Thread Starter Reneenb14

    (@reneenb14)

    Yes, that worked! Thank you so much. You are a blessing.

    I feel like screaming, like Florida from Good Times: Damn! Damn! Damn!. If I had never activated that part of Jetpack, this would have never happened.

    Thread Starter Reneenb14

    (@reneenb14)

    Can you help with one more thing? When I use the code you gave me and I went back to review my website on the widget sidebar the code has somehow interfered the image graphics I made. Such as Pinterest, Instagram, Twitter, and Goodreads. These images where all centered next to each other. Now they are going down the widget on the left side.

    I’ve tried using the center align but it’s putting the image down the middle of the widget.

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hey @reneenb14,

    Hope you’re well.

    Sorry to hear that problem. Can you try to add this custom CSS for fixing that social media links images;

    #right_sidebar #custom_html-3 .jetpack-lazy-image{
        display:inline-block !important;
    }
    
    #right_sidebar #custom_html-3 .textwidget{
      text-align:center;
    }

    Cheers,
    Oguz

    Thread Starter Reneenb14

    (@reneenb14)

    That did it. You are so smart. I was going to try and figure it out by myself by using the <div> but I see now I would have been totally wrong.

    Thanks again for your help and I hope I don’t have any more problems.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Images will not align center’ is closed to new replies.