WordPress.org

Ready to get started?Download WordPress

Forums

Pinterest Plugin
Icon always on left despite image location (6 posts)

  1. nortont
    Member
    Posted 2 years ago #

    I have images with float:right set
    Unfortunately the Pinterest icon is always on the far left of the screen.

    Can this be made to float on the image?
    You cannot click the icon as you have to leave the image first and the icon then disappears.

    http://wordpress.org/extend/plugins/pinterest-plugin/

  2. cpsdarren
    Member
    Posted 2 years ago #

    Same issue- pinterest button does not appear over the image if the image is centered or right justified, so you can't click the button. Seems to work fine on left or unjustified images.

  3. savingfreak
    Member
    Posted 2 years ago #

    I am having the same issue and when I switched to left justified it worked fine.

  4. simonmharding
    Member
    Posted 2 years ago #

    and same here - any thoughts anyone?
    All the best

    Simon
    [ Signature moderated. ]

  5. chembro303
    Member
    Posted 1 year ago #

    same issue - changing the alignment of the image is not a solution that would work in my case. We need the images to be right aligned. The "pin it" button should always be on top of the image!

  6. chembro303
    Member
    Posted 1 year ago #

    Ok well, I wish the default styles in the plugin worked 'out of the box' for every option but for my purposes, adding the following code to my styles.css file worked well:

    .sn_pin {
    	margin: 0 !important;
    	position: absolute !important;
    	right: 10px !important;
    }

    In my theme all the !important declarations weren't needed but I added them above in case someone is copy-pasting. Also, in my theme I know I have all my .aligncenter .alignleft and .alignright classes set to position: relative ... my guess is the above code won't have pretty results unless the same is true in your theme. But that's another easy enough change to make.

    Good luck to anyone making similar changes. Worked for me.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic