Okay
  Public Ticket #964493
Work URL
Closed

Comments

  •  2
    hajris started the conversation

    Hi, I really like the portfolio! my inquiry is if anyway to to link my work images to the URL of the projects, the way i want to do it after i click the image and have the lightbox on then i click again and it takes me to the URL. Thank you.

  •  5
    Nick replied

    Hi Hajris,

    Sorry for the late reply. Currently what you require is not supported, however there is a workaround. You can include an image caption with the link you wish. The way to achieve this is by adding a 'title' attribute with the link to your thumbnail like so:

    <a class="lightbox" href="images/portfolio/project.jpg" title="<a href="/http://aetherthemes.com/">Link</a>">
    

    Afterwards, you can style the title in your CSS with the '.mfp-title' class like so:

    .mfp-title a {
        color: #fff;
    }
    

    Thanks,
    Nick


    aetherthemes

  •  2
    Hajres replied

    Thanks Nick, but i tried it different ways around and it's  not working!!

  •  5
    Nick replied

    Hey,

    Can you send us a link to your site so we can check out what exactly went wrong? 

    Thanks,
    Nick


    aetherthemes