Solved

Modify Dawn Theme code, open social media link in a new window

JaneCout
Tourist
5 0 0

Hi, I would like to modify my theme to be able to open social media link in a new window. Can someone help me with that. I have Dawn Theme. 

Accepted Solution (1)
andrea_mtrust
Shopify Partner
8 2 13

This is an accepted solution.

Hi @JaneCout,

I had the same  "problem" and the solution from @PageFly-Richard worked fine for me, the only difference is that I had to edit the file
Snippets->social-icons.liquid 


Hope this helps

Andrea

View solution in original post

Replies 4 (4)

PageFly-Richard
Shopify Partner
4991 1118 1796

Hi @JaneCout ,

 

This is Richard from PageFly - Landing page builder, I’d like to suggest this idea:
Step 1: Go to Online Store->Theme->Edit code
Step 2: Sections->/footer.liquid-> Find "list-social__link" -> Add attribute target="_blank" to <a> tag:

PageFlyRichard_0-1678378170717.png

 

I hope it would help you
Best regards,

Richard | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.

JaneCout
Tourist
5 0 0

I don't have ''list-social__link'' under ''footer.liquid'' section. 🤔

 

This is what I can find under ''footer.liquid'' that speak about social. media

JaneCout_0-1678379954169.pngJaneCout_1-1678380074873.png

And this is how my website look like. 

JaneCout_2-1678380167448.png

 

andrea_mtrust
Shopify Partner
8 2 13

This is an accepted solution.

Hi @JaneCout,

I had the same  "problem" and the solution from @PageFly-Richard worked fine for me, the only difference is that I had to edit the file
Snippets->social-icons.liquid 


Hope this helps

Andrea

JaneCout
Tourist
5 0 0

Thank you it worked perfectly !!!