Archived topic
Images in footer widget link to url's to open in new tab
3 replies · Started by silver on June 18, 2018
Hi guys,
I have added 4 images separately in 4 footer widgets, each image is linked to an external URL. everything is good except I would like each of these links to open in a new tab, rather than take the user away from the site.
Not sure how I can do this to target only these widgets.
As always, your time and help are much appreciated.
Oz.
Hi Oz,
If you're adding the images using HTML, you can add target="_blank" to the link elements:
<a href="URL TO PAGE" target="_blank"><img src="..." /></a>
Hey Tom,
Unfortunately no, I used the image block, so I guess I'll have to go and remove all images and change to html and write it out.
Thanks for the idea and help :)
Oz.
Ah, that may be the best option :)