Liquid, JavaScript, themes, sales channels
Hello, Is there anyway to make a link from the banner announcement open in a new tab. I'm linking to an external site but want to make it easier for people to find their way back.
Thanks
Hi @Dave104, glad to help you with your question. I’m sure, my given answer will help to solve your problem by following given steps
Go to Online Store > Customize > header > announcement Bar Text
And paste this code by replacing “yourlink.com” with your desired link
<a href="https://yourlink.com" target="_blank">Announcement bar link</a>
Hopefully, that solves your problem. If not, please let me know if you're seeing any other issues.
Hey there,
You need to update the HTML code to open the link in the new tab.
We can make the link dynamic for you so you can update it from the theme editor.
Please contact me on my email to get further help.
Hi @Michal17 , is there a specific tag we can put to not use the absolute prepended url in the case we want to customize an announcement to send out two external links based on the text in the message? Thanks!
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024