Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #767431

    Hi, I am using the mason gallery to show images on pages as illustrations of the projects. But they don’t have to open in lightbox or open at all. I can disable the lightbox modal window but then the imagelink open the image in the window and thats not what i want. How can i disable this?

    • This topic was modified 7 years, 9 months ago by TanjaV.
    #767476

    Hey TanjaV,

    Can you please provide a link to the page so I can look into this further?

    Best regards,
    Jordan Shannon

    #768006

    See the private message for the link

    #768306

    Hi,

    You can add the following to quick css:

    #av-masonry-1{
    pointer-events:none;
    }

    If this does not work for you we can try a javascript method, but I would need access to the back-end to work on it. Let me know if this works for you.

    Best regards,
    Jordan Shannon

    #768761

    Thanks! It works but also on pages with an overview of projects where the image is also the link to an project. Is there a way to give the masonry/images which are illustrations on a page, an id or class which is different then the overviews? See the links in de private message.

    #769011

    Hi,

    Try this:

    
    
    .postid-126 #av-masonry-1{
    pointer-events:none;
    }
    
    .postid-129  #av-masonry-1{
    pointer-events:none;
    }
    
    

    This should target just the specific pages you need.

    Best regards,
    Jordan Shannon

    #769837

    Thanks! It works, but only on the pages with the specific id. And because the projects are ongoing and entered by my client, i can not insert the id by hand.. :-(

    #769846

    Hi,

    Should this display on all posts for example? if yes that should be easier.

    Best regards,
    Nikko

    #769849

    Yes indeed, on all posts!
    The images on the pages needs the event to open the posts.
    I now see that there is an option to insert an id in the edit of the masonry element. But i prefer to disable it in the css itself.

    #770109

    Hi,

    If the code just needs to work on the post pages, you can use the following:

    .single.single-post #av-masonry-1{
    pointer-events:none;
    }

    Best regards,
    Jordan Shannon

    #770990

    Thanks a lot! This is what i needed.

    #771165

    Hi,

    Great I am glad we were able to help! If you need additional help, please don’t hesitate to contact us here on the forums.

    Best regards,
    Jordan Shannon

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Masonry gallery without popup’ is closed to new replies.