Social media links

Topic summary

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 \

Summarized with AI on November 7. AI used: claude-sonnet-4-5-20250929.

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.

  1. Go to Shopify Admin Panel

  2. Select Online Store then click on “Themes”

  3. click Three dots symbol then choose “Edit code” from dropdown menu.

  4. Search “social-icons.liquid” and open the file.

  5. 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