Jump to content

How to add Pinterest button to image blocks instead of images

Recommended Posts

Site URL: https://www.makersdepartment.com/purepods


I have added the following code from Pinterest's website on their Widget builder:

<script async defer data-pin-hover="true" src="//assets.pinterest.com/js/pinit.js"></script>

At the moment the Pinterest button appears at the top left of the full image, so when the image is cropped the Pinterest button is no longer in the right place (see image).

I realise it needs to align at the top left of the image block, not the image itself. How can I do this? 

Also can you change the size of the Pinterest button? This isn't as important but thought I'd ask anyway just in case :)

Thanks so much.

pinterest button wrong.JPG

pinterest button wrong2.JPG

Link to comment
  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Posted Images

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.