Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Re: Open link in new tab

How can I set up main page banners to open in a new tab?

khurramkiqbal
Tourist
6 0 2

Screenshot (77).png

This is my homepage, I want to set up the ability to open these main page banners on a new tab after right click. Can anyone help?

 

Store URL: www.bagallery.com

Replies 8 (8)

KetanKumar
Shopify Partner
37336 3654 12097

@khurramkiqbal 

https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_link_target

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
khurramkiqbal
Tourist
6 0 2

Thanks Ketan,

Can you guide me how I can use the shopify in-built customizer to add this tag?

suyash1
Shopify Partner
10130 1253 1593

@khurramkiqbal - if you open image in new tab then it will show up like this - https://cdn.shopify.com/s/files/1/0257/2425/6334/files/End-of-month-treat-Slider-with-delivery_1296x...

 

or do you want shop page to open when you click on this image?

To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
khurramkiqbal
Tourist
6 0 2

I want shop page to open when I open it in a new tab.

suyash1
Shopify Partner
10130 1253 1593

@khurramkiqbal - then this section code needs to be edited to add tag given above to your link

To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
khurramkiqbal
Tourist
6 0 2

I usually have ~100 banners on my homepage, is there a way to automate this behavior?

suyash1
Shopify Partner
10130 1253 1593

@khurramkiqbal - most of your banners are using promo-banner section... so if that section is edited then it will work for images added using that section.

But it is not considered good for mobile to open pages in different tabs, I must let you know this.

To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
khurramkiqbal
Tourist
6 0 2

Can you suggest what I need to do in order to get this done? 

What do I edit the theme liquid with?