Open external link in a new tab - Sense theme

Solved
Grant68
Tourist
7 0 1

Hi Guys, can anyone help me here. I'm using the new Online Store 2.0 theme Sense. How do I open external link in a new tab. I can do it in older themes using this: https://help.shopify.com/en/manual/online-store/themes/themes-by-shopify/vintage-themes/customizing-...
But it doesn't work in Sense.

Please help.

Grant

 

Accepted Solution (1)

Accepted Solutions
oscprofessional
Shopify Partner
11006 1758 2233

This is an accepted solution.

@Grant68 ,

If the solution is helpful to you then give a like and accept it!

Thanks!

 

Please Like and Accept Solution. Free website audit to grow your business Chat on WhatsApp | Email: pallavi@oscprofessionals.com | Skype : oscprofessionals-87 | Hire us | Expert Site Speed Optimization | Performance Site Audit | Shopify Private App | Custom Theme Development & Modifications any Shopify Theme | Shopify SEO | Digital Marketing

View solution in original post

Replies 7 (7)
oscprofessional
Shopify Partner
11006 1758 2233

@Grant68 ,

On which page do you want it?

Please Like and Accept Solution. Free website audit to grow your business Chat on WhatsApp | Email: pallavi@oscprofessionals.com | Skype : oscprofessionals-87 | Hire us | Expert Site Speed Optimization | Performance Site Audit | Shopify Private App | Custom Theme Development & Modifications any Shopify Theme | Shopify SEO | Digital Marketing
Grant68
Tourist
7 0 1

Hi Oscprofessional.

 

It is for the whole site/Store. On older free themes its in the code. This is a link to a solution but the theme Sense doesn't have theme.js in the assets folder.

 

https://help.shopify.com/en/manual/online-store/themes/themes-by-shopify/vintage-themes/customizing-...

 

Please let me know if you can help.

Thanks

Grant

 

oscprofessional
Shopify Partner
11006 1758 2233

@Grant68 ,

oscprofessional_0-1645522971669.png

Try to add in theme.liquid file.

Please Like and Accept Solution. Free website audit to grow your business Chat on WhatsApp | Email: pallavi@oscprofessionals.com | Skype : oscprofessionals-87 | Hire us | Expert Site Speed Optimization | Performance Site Audit | Shopify Private App | Custom Theme Development & Modifications any Shopify Theme | Shopify SEO | Digital Marketing
Grant68
Tourist
7 0 1

Thanks. I tried it and does not work.

Screen Shot 2022-02-22 at 11.51.58.png

oscprofessional
Shopify Partner
11006 1758 2233

@Grant68 ,

oscprofessional_0-1645524244268.png

 

add script tag

<script></script>

 

Please Like and Accept Solution. Free website audit to grow your business Chat on WhatsApp | Email: pallavi@oscprofessionals.com | Skype : oscprofessionals-87 | Hire us | Expert Site Speed Optimization | Performance Site Audit | Shopify Private App | Custom Theme Development & Modifications any Shopify Theme | Shopify SEO | Digital Marketing
Grant68
Tourist
7 0 1

Thank you. You are the best. It worked.

oscprofessional
Shopify Partner
11006 1758 2233

This is an accepted solution.

@Grant68 ,

If the solution is helpful to you then give a like and accept it!

Thanks!

 

Please Like and Accept Solution. Free website audit to grow your business Chat on WhatsApp | Email: pallavi@oscprofessionals.com | Skype : oscprofessionals-87 | Hire us | Expert Site Speed Optimization | Performance Site Audit | Shopify Private App | Custom Theme Development & Modifications any Shopify Theme | Shopify SEO | Digital Marketing