[Resolved] Images in footer widget link to url's to open in new tab

Home Forums Support [Resolved] Images in footer widget link to url's to open in new tab

Home Forums Support Images in footer widget link to url's to open in new tab

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #603072
    silver

    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.

    #603160
    Tom
    Lead Developer
    Lead Developer

    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>

    #603171
    silver

    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.

    #603696
    Tom
    Lead Developer
    Lead Developer

    Ah, that may be the best option ๐Ÿ™‚

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.