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

    Hi again!

    Trying to get the full Portfolio story.

    Is it possible to have the Full Width Masonry thumbnails linking to a Lightbox rather than the Single Portfolio Post?

    Thanks very much once again!

    #198407

    Hi jaroljmek!

    You can edit config-templatebuilder > avia-shortcode > masonry_entries.php, find this code on line 397:

    $output .= "<a href='{$url}' class='{$class_string}'>";

    Replace it with:

    $output .= "<a href='".$attachment[0]."' class='{$class_string} lightbox'>";

    Remove browser cache then reload the page.

    Cheers!
    Ismael

    #329392

    I am trying to replicate this on the current version, however I can’t find the code on line 397 to edit. I want the Masonry (with sorting) to open images in Lightbox. Thanks!

    #330028

    Hey!

    Thank you for using Enfold.

    This is a very old thread. A lot has change since. You can use the portfolio items if you want to open the overview thumbnails to lightbox. Edit the portfolio item then look for the Overwrite Portfolio Link setting. Choose define custom link. Add the image uri or link on the Link portfolio item to external URL field. Edit the masonry element and choose Portfolio Entries on Which Entries? setting.

    Cheers!
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Full Width Masonry – Lightbox Link?’ is closed to new replies.