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.
Topic summary
A user needed to modify a button in their Shopify store’s slideshow (using the Spark theme with Liquid code) to open a booking website link in a new tab.
Solutions offered:
- Add the
target="_blank"attribute to the<a>tag - Navigate to Actions > Edit code > Sections > slideshow.liquid file to locate and modify the relevant code
Resolution:
The original poster successfully resolved the issue independently after receiving these suggestions.
use this attribute target=”_blank” in tag to open link in new tab
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
I ended up figuring it out thank you ![]()
1 Like
I ended up figuring it out thank you ![]()
Hi @sam_hhh ,
You’re welcome ![]()