How do I get sub menu to open in same tab not new tab?

New Member
19 0 0

I created sub menus under my menu Earrings. The sub menus are Teardrop, Hoops, Beaded ....

When I click on earrings the page loads in same tab but when you click on Teardrop sub menu a new tab is opened.

How do I get the sub menu click open in the same tab and not a new tab? 

On mobile the sub menu click opens a new window and I dont want that. I would like it to open in same window.

I'm using the Debut theme and have been looking under header.liquid but not sure what to change.

https://seasprayjewelry.com

Thanks

0 Likes
Highlighted
New Member
19 0 0

I found the issue

0 Likes
Shopify Partner
66 2 9

Hi there!

It looks like the child elements of your dropdown menu items

have (specifically <a></a> tags) have target="_blank" attribute.

If you remove them, URLs you clicked will be opened in the same browser tab.

Look into header.liquid or site-nav.liquid.

Hope it helps.

Developer @ MageWorx | Explore our Shopify apps | Need theme customization or migration? Reach us at apps@mageworx.com
0 Likes