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

    Dear kriesi-team,

    I use the ajax portfolio for the site http://www.christinbacher.at/.

    The images of every portfolio item are displayed in a list.

    By clicking on a picture from the list it opens in a separate “kind-of-light-box” image window. I would like to disable that possibility on enlarging by clicking on pictures (remove the links), and just link special pictures to other website.

    How can I change this?

    I look forward to your response,

    Christin

    #202465

    Hi nini_bacher!

    Edit config-templatebuilder > avia-shortcodes > portfolio.php, find this code on line 642:

    $output .= " <a href='".$img[0]."' class='portolio-preview-list-image' title='".$description."'><img src='".$img[0]."' title='".$title."' alt='".$alt."' /></a>";

    Replace it with:

    $output .= " <a href='".$img[0]."' class='portolio-preview-list-image noLightbox' title='".$description."'><img src='".$img[0]."' title='".$title."' alt='".$alt."' /></a>";

    Remove browser cache then reload the page. You can also add this on your custom.css or Quick CSS to disable the image link entirely:

    .portolio-preview-list-image {
    pointer-events: none;
    }

    Cheers!
    Ismael

    #202545

    Hi Ismael,

    works great, thank you! :)

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘un-link pictures in ajax portfolio image lists’ is closed to new replies.