The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Pinterest Pin It Button For Images
Center aligned images become left aligned (11 posts)

  1. serendipityphoto
    Posted 4 years ago #

    Thank you for this wonderful plugin, it works great! There is one issue that I can't figure out, hope you can help. All my center aligned images becomes left aligned when I have the plugin activated.


    I have the plugin deactivated now since I don't want my clients to see the "broken" blog.



  2. Canha
    Posted 4 years ago #

    That is odd. I'll look into it. Do you use the default WordPress option to center your images?

  3. serendipityphoto
    Posted 4 years ago #

    I use this html to center my images: <p style="text-align: center;"><img src="http://

  4. whatachamp
    Posted 4 years ago #

    Also having this problem. In the site's posts, we want images aligned center but Pinterest pushes them left.
    On the site's pages, where we have the images floated left or right, Pinterest seems to be removing that float.
    Site is http://cocosphotography.ca


  5. ritarose
    Posted 4 years ago #

    Yes, I love this plugin, but....

    I'm having the same problem - it left aligns all my images (that were otherwise centered through CSS).

    Also, the location of the PinIt png is not dependant on the image location - meaning if i right align the Pinit, but my pictures are left-aligned, the pinit button is not even on the image (which is connected to the other issue people were having).

    The site that I'm working on is: http://www.whiterosekallah.com/blog

  6. whatachamp
    Posted 4 years ago #

    Hi guys
    We managed to fix this problem by adding this code to the end of the stylesheet:

    .cb_pin_images {
      margin-left: auto !important;
      margin-right: auto !important

    If you don't have direct access to the stylesheet log into wordpress as admin and add this code in the Appearance > Editor screen.

  7. whatachamp
    Posted 4 years ago #

    Sorry don't forget the semi-colon after the second important.
    This code doesn't fix the images on the pages where I might have them floated left or right - they align center now.
    Hopefully the Pinterest guys can fix this so the intended alignment is not overridden by the plugin.

  8. ritarose
    Posted 4 years ago #

    still doesn't center-align the images for me.. I wonder what I'm doing wrong :/

  9. Canha
    Posted 4 years ago #

    Hi all, just to let you know I'm still working on a way for the centered and right-aligned images to work.

    Make sure you keep your plugin up-to-date as I may launch the solved problem soon (I hope!)


  10. serendipityphoto
    Posted 4 years ago #

    Hello, were you able to fix the center align issue with the new update? I tried it and it still has the same behavior.

  11. Sean
    Posted 4 years ago #

    Hi serendipityphoto,

    The new 1.0 version is currently under beta testing. This new version should fix this problem.

    If you are interested in helping out by beta testing the new version, please check out this thread:



Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Pinterest Pin It Button For Images
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic