Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #230331

    I am using the portfolio grid on my website (enfold). I have the gallery working fine. Click on an image opens to the single portfolio entry.
    I would like the larger image though to either be linked to the actual website in a new window or just disable the lightbox. If I disable the lightbox then I would use text along the side of the image to contain a link to the website.
    Hope that makes sense.

    Here is a link to my website msf web design.

    #230461

    Hey Mary!

    Did you add the portfolio image using the “Add Media” button? Please edit the Text Block then switch to text editor, you should see something like this:

    <a href="http://www.msfwebdesign.com/msfnew/wp-content/uploads/2014/02/gem.jpg" rel="lightbox"><img class="aligncenter size-gallery wp-image-3472" alt="gem market research" src="http://www.msfwebdesign.com/msfnew/wp-content/uploads/2014/02/gem-710x575.jpg" width="710" height="575"></a>
    

    You can replace the href attribute with the actual website url then add the target=”_blank” attribute to open the image on a new window. Something like this:

    <a href="ACTUAL WEBSITE URL HERE" target="_blank" rel="lightbox"><img class="aligncenter size-gallery wp-image-3472" alt="gem market research" src="http://www.msfwebdesign.com/msfnew/wp-content/uploads/2014/02/gem-710x575.jpg" width="710" height="575"></a>
    

    Regards,
    Ismael

    #230723
    This reply has been marked as private.
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Disable Lightbox on Single Portfolio Entry’ is closed to new replies.