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 182

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 182

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