Shopify themes, liquid, logos, and UX
So when someone clicks on one of my buttons, it opens a new tab with the link.
I don't seem to find an option for it under the button.
Solved! Go to the solution
This is an accepted solution.
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
target="__blank"
- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
This is an accepted solution.
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
target="__blank"
- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
I tried this solution with the Sense theme, but it didn't work.
Hi @mjerez
Could you take a screenshot of the code that you added?
- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
Hi, I want to to the same thing. When someone click on my Banner it should open a new tab, I have changed the code as you have described, but it doesn´t work. Could you please assist?
This did not work with the Craft theme. Does anyone know of a solution?
Hello -- if I do this will this apply to every button? I only want to do it for one button in particular. Thanks.
Worked perfectly! Thank you so much for the tip
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025