How to get button link to open in a new tab?

How to get button link to open in a new tab?

sam_hhh
Tourist
6 0 1

Hi, Ive been trying to change the code on our website to have a button on a slideshow open in a new tab. I am having trouble finding what line of code to edit and with what. The button I would like to open in a new tab to our booking website is currently on the slideshow of our website's main page. Does anyone have experience with this? I believe our code system is liquid and the websites theme is Spark_6.16_With Infinite Options App_Ash.

Replies 5 (5)

Asad-Mahmood
Shopify Partner
445 80 91

use this attribute target=”_blank” in <a> tag to open link in new tab

If my solution has been helpful, you can consider supporting me via Buy Me a Coffee.
Hire me: asadmahmood8470@gmail.com
WhatsApp
Fiver




sam_hhh
Tourist
6 0 1

I ended up figuring it out thank you 🙂

namphan
Shopify Partner
2690 349 396

Hi @sam_hhh,

Please go to Actions > Edit code > Sections > slideshow.liquid file. Please send me the code, I will check and add option for you

Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com
sam_hhh
Tourist
6 0 1

I ended up figuring it out thank you 🙂

namphan
Shopify Partner
2690 349 396

Hi @sam_hhh,

You're welcome 😊

Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com