Hi, Can someone please help us open the social media icon in a new tab? We are using the Studio (4.0.1) theme. Thanks
Topic summary
A user running Studio theme (v4.0.1) needs help making social media icons in the footer open in new tabs.
Solution provided:
- Add the
target="_blank"attribute to all social media<a>tags - Multiple respondents confirmed this approach with code examples
Implementation steps:
- Navigate to: Store Admin > Sales Channel > Online Store > Themes > Edit Code
- Locate the social icons file (identified as
social-icons.liquidsnippet or withinfooter.liquid) - Find all
<a>tags associated with social media links - Add
target="_blank"attribute to each tag - Save the file
Example code structure:
<a href="{{ social_media_link }}" class="social-icon" target="_blank">
Screenshots were shared showing the exact file location and code placement. The user confirmed finding the code in the footer.liquid file.
@arg99 please put this attribute to all social A tag:
target=“_blank”
it will open a link in new tab.
Hello @arg99
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
Hi @arg99
You can do that from store admin > Sale channel > Online store > Themes > Edit code, open social-icons.liquid file, add this type of code
target="__blank"
Right after all code like this

Save your file
[email removed] please search social in you theme file , it is a snippet the check tags and put (target=“_blank”) to all a tags. like this:

it was on “footer.liquid” file
