What's your biggest current challenge? Have your say in Community Polls along the right column.
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Open nav and footer link In A New Tab - 2.0 Taste Theme

Open nav and footer link In A New Tab - 2.0 Taste Theme

jam-grl
New Member
4 0 0

Hi there, 

I hope someone can help me out. I'm using the new 2.0 theme Taste. How do I make an external link in the main or footer menu - open in a new tab or window?

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

Please help.

Sally

Replies 3 (3)

MarinaPetrovic
Shopify Partner
559 124 191

Hi @jam-grl , please share url. 🙂

M.Petrovic | Shopify Developer
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
jam-grl
New Member
4 0 0

https://h2o-charters.myshopify.com/

pass- sail

I don't want the nav external links in drop down to open in the same window.

MarinaPetrovic
Shopify Partner
559 124 191

Hi @jam-grl , find this element in your footer file:

<a href="/pages/rules-restrictions" class="link link--text list-menu__item list-menu__item--link">

 

Change it to this:

<a href="something" class="link link--text list-menu__item list-menu__item--link" target="_blank">

Word something is something else in your file 😄 
You can find it by this class. 🙂 

M.Petrovic | Shopify Developer
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution