Personalized checkout and custom promotions with Shopify Scripts
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hello,
I have a PDF file within Shopify that is linked in my header as "Catalog".
I want this link to open in a new window. However, I can't find the link code anywhere in the code to add the "blank" script.
Theme is Dawn.
Any help is appreciated!
You will have to modify code inside header.liquid file. inside the for loop when the second instance is running you can add the blank attribute inside the <a> tag. the statement is like this.
if forloop.index == 2 ofcourse in liquid syntax. Or you can select the specific a tag of the catalog menu item with js and add the blank attribute