Open external link in a new tab FROM button in Image with Text content block

Solved
Tourist
8 0 0

I know how to typically add target="_blank" to anchors. However, in this case, I cannot find the code attributed to this Call-to-Action (shown in attached screengrab) - the button in the Image with Text content block. I am unable to instruct the link to open in new tab using the theme editing interface. Is there a way to do this ?

 

shopify_ext_link_new_tab.jpg

0 Likes
Shopify Expert
2461 414 519

Hi @me-moringa-usa 

Follow this:

1. Open Section->feature-row.liquid->find below code and add target="_blank

<a target="_blank href="{{ section.settings.button_link }}" class="btn">

 

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com
Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
0 Likes
Tourist
8 0 0

Hi @Jasoliya 

 

Thanks for the quick response. Unfortunately, that section does not exist in my list. I only have the following:

 

I couldn't find the code snippet in any of those sections. Is there somewhere else I can find the button settings? 

 

Thanks

0 Likes
Shopify Expert
2461 414 519

but without checking code i cant send you file name

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com
Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
0 Likes
Tourist
8 0 0
Understood. What do you need to guide me?
0 Likes
Shopify Expert
2461 414 519

Add me as staff i will check, my email give in bio information bellow 

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com
Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
0 Likes

Success.

Shopify Expert
2461 414 519

You can find code in Snippet->include-image-text.liquid file. and add target=" _blank" in <a> 

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com
Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
1 Like