Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #25663

    I’ve created a blog post were I’d like to link a few different things up to images. I’ve uploaded the images to the media gallery. In my blog post I’m linking them to the image and I want them to open in a new tab, which I’ve set the “target=”_blank” but they’re still opening in the lightbox.

    I’ve even tried the class=”nolightbox”

    Here’s what I’ve got in the code.

    <a href="http://wearesisu.com/wp-content/uploads/2013/07/Wallpaper_2560-1440.png">2560x1440</a>

    How can I get this image to open in a new tab?

    Thanks for your help!

    #127768

    Hey!

    Please try:

    <a class="noLightbox" href="http://wearesisu.com/wp-content/uploads/2013/07/Wallpaper_2560-1440.png">2560x1440</a>

    or

    <span class="noLightbox" ><a href="http://wearesisu.com/wp-content/uploads/2013/07/Wallpaper_2560-1440.png">2560x1440</a></span>

    Best regards,

    Peter

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘How can I get rid of the Lightbox when linking an image in a blog post.’ is closed to new replies.