Hello
My online store has links to my social media accounts. Does anyone know how I can get the links to open in a new tab.
Thanks @john260
A Shopify store owner asks how to make social media links open in new browser tabs instead of the same tab.\n\nSolution provided:\n- Navigate to Shopify Admin Panel → Online Store → Themes\n- Click the three dots menu and select \
Hello
My online store has links to my social media accounts. Does anyone know how I can get the links to open in a new tab.
Thanks @john260
Hi @john260 ,
To open the social media links in new tab other than opening on the same tab follow the steps given below.
Go to Shopify Admin Panel
Select Online Store then click on “Themes”
click Three dots symbol then choose “Edit code” from dropdown menu.
Search “social-icons.liquid” and open the file.
Modify the code by adding target=“_blank” in the a tags you need.
Representation code
{%- render 'icon-facebook' -%}
{{ 'general.social.links.facebook' | t }}
Please view the screenshot attached.
If it does, please like it and mark it as a solution!
If you need further assistance, feel free to reach out!
Regards,
Sweans