How to open social media icons in a new tab?

Topic summary

A user seeks help making social media icons on their Shopify store (using the Sense theme) open in new tabs instead of the current window.

Solution provided:

  • Navigate to: Online Store > Themes > Edit Code > Snippets > social-icons.liquid
  • Add target="_blank" attribute to the anchor tags
  • A screenshot demonstrates the exact placement in the code

Outcome:

  • Multiple users confirm the solution works successfully
  • One user reports it didn’t work initially; suggestion made to check if browser is blocking pop-ups
  • The discussion appears resolved with the original poster and several others implementing the fix successfully
Summarized with AI on October 26. AI used: claude-sonnet-4-5-20250929.

Hello!

I’m currently trying to make my website open a brand new tab whenever you click on one of the social media icons. We’re using the Sense theme at the moment so if anyone could help us fix this, it would be greatly appreciated. I’ll be attaching a link to my website so you can check it out.

Thanks!

www.luxeengravable.com

1 Like

Hi @LuxeEngravables

You can do that by adding target=“_blank” option in a tags in Online store > Themes > Edit code > Snippets > social-icons.liquid file

10 Likes

WOW! That worked perfectly! Thank you so much for all your help.

1 Like

Thank you for sharing! This worked for me as well.

For some reason it did´t worked for me…

I placed at the right spot.

help!

1 Like

Check if your browser is not blocking the new window.

Thank you for providing this. It worked perfectly. Much appreciated. Thank you thank you thank you.

Great, the only easy solution. Thx

Sorry for missing your message. Do you still need help? Could you share your store URL?

This worked perfectly. Thanks so much :slightly_smiling_face: