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

  1. nortont
    Posted 4 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.


  2. cpsdarren
    Posted 4 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
    Posted 4 years ago #

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

  4. simonmharding
    Posted 4 years ago #

    and same here - any thoughts anyone?
    All the best

    [ Signature moderated. ]

  5. chembro303
    Posted 3 years 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
    Posted 3 years 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