How to open social media icons in a new tab?

Solved

How to open social media icons in a new tab?

LuxeEngravables
Tourist
5 0 1

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

 

 

 

Accepted Solution (1)

Dan-From-Ryviu
Shopify Partner
8561 1689 1696

This is an accepted solution.

Hi @LuxeEngravables 

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

Screenshot 2023-08-24 at 11.22.32.png

- Helpful? Like and Accept solution!
- Ryviu - Product Reviews app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Shopee and Walmart and CSV.
- Lookfy app: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Enjoy 1 month of Shopify for $1. Sign up now.

View solution in original post

Replies 5 (5)

Dan-From-Ryviu
Shopify Partner
8561 1689 1696

This is an accepted solution.

Hi @LuxeEngravables 

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

Screenshot 2023-08-24 at 11.22.32.png

- Helpful? Like and Accept solution!
- Ryviu - Product Reviews app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Shopee and Walmart and CSV.
- Lookfy app: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Enjoy 1 month of Shopify for $1. Sign up now.

LuxeEngravables
Tourist
5 0 1

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

CM13
Tourist
5 0 1

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

Strong-Beats
Visitor
1 0 0

For some reason it did´t worked for me...

I placed at the right spot.

 

help!

 

andrenjusa
Tourist
5 2 1

Check if your browser is not blocking the new window.