Hi,
The other day you gave me a code to add share to whatsapp icon on product page, it works great.
Could you the same to add share to instagram icon please??
Thanks in advance
Jessy
Love is the flower you've got to let grow
Hi @jessy
Katrine from Plak Theme support here,
I am glad to hear that the Whatsapp share icon has worked great for you 🙂
Here is how to add Instagram share icon on product page next to the other social share icons :
- From your Shopify dashboard, click Online store > Actions > Edit code
- Open the file social-sharing.liquid
- At the very bottom and just before the closing tag </ul> add the following code
<li> <a target="_blank" href="https://www.instagram.com/plak_theme" class="btn btn--small btn--share share-instagram" title="Instagram"> <i class="fa fa-instagram" aria-hidden="true"></i> <span class="share-title" aria-hidden="true">Instagram</span> <span class="visually-hidden">Instagram</span> </a> </li>
- Replace the link https://www.instagram.com/plak_theme with your Instagram link
- Click Save
- The code will look like this
- In order to add some styles and background colors to the Instagram icon, add the below code at the very bottom of the file theme.css
.social-sharing i.fa-instagram { background: #d6249f; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%); border-radius : 30%; }
- Click Save
Don't hesitate if you have any other request 🙂
Enjoy your weekend
Katrine
Stuning ! Thanks a lot for your help 🙂
Love is the flower you've got to let grow
Welcome to the Shopify Forum Community provided by Plak ThemeLLC, a place where you can discuss about eCommerce and Shopify, solve technical issues, get help with Shopify Design, Apps integration, Marketing, Facebooks ad, Google ads and more.
Before posting, we invite you to read and follow the forum rules | We also support any questions related to Free Shopify themes :Dawn, Express, Minimal, Brooklyn, Narrative, Supply, Debut, Venture, Boundless and Simple