Shopify themes, liquid, logos, and UX
Hello,
I want that a link in a Image Banner to open in a new Tab. I already have edited the Code:
"You can do that by editing image-with-text.liquid file of your theme in Online store > Themes > Edit code > open image-with-text.liquid file, add this part below in a tag of button and Save the file "
Code: target="__blank"
Unfortunately this doesn't helped. I use the Refresh Theme.
Hello, @mrbicho
You can right-click to check if there is this attribute in the <a> tag. If not, it may be because you added it in the wrong position. Or you can share your store url. I will help you check it out.
Hi @mrbicho
This is Richard from PageFly - Shopify Page Builder App
You can try to add the target again from '__blank' to _blank
As you input the wrong syntax, its might the reason that doesn't work properly.
Hope this can help you solve the issue
Best regards,
Richard | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
@mrbicho
It should be
target="_blank"
instead of
target="__blank"
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025