WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. serendipityphoto
    Member
    Posted 2 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.

    http://www.serendipity-photography.com/

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

    Thanks,
    Eric

    http://wordpress.org/extend/plugins/pinterest-pin-it-button-for-images/

  2. Canha
    Member
    Plugin Author

    Posted 2 years ago #

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

  3. serendipityphoto
    Member
    Posted 2 years ago #

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

  4. whatachamp
    Member
    Posted 2 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

    Thanks

  5. ritarose
    Member
    Posted 2 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
    Member
    Posted 2 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
    Member
    Posted 2 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
    Member
    Posted 2 years ago #

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

  9. Canha
    Member
    Plugin Author

    Posted 2 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!)

    Cheers.

  10. serendipityphoto
    Member
    Posted 2 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
    Member
    Plugin Contributor

    Posted 1 year 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:

    http://wordpress.org/support/topic/plugin-pinterest-pin-it-button-for-images-searching-for-beta-testers-for-this-plugin

    Cheers

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic