-
AuthorPosts
-
March 27, 2017 at 2:19 pm #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.
March 27, 2017 at 3:16 pm #767476Hey TanjaV,
Can you please provide a link to the page so I can look into this further?
Best regards,
Jordan ShannonMarch 28, 2017 at 10:07 am #768006See the private message for the link
March 28, 2017 at 5:11 pm #768306Hi,
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 ShannonMarch 29, 2017 at 12:02 pm #768761Thanks! 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.
March 29, 2017 at 7:27 pm #769011Hi,
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 ShannonMarch 31, 2017 at 10:29 am #769837Thanks! 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.. :-(
March 31, 2017 at 10:34 am #769846Hi,
Should this display on all posts for example? if yes that should be easier.
Best regards,
NikkoMarch 31, 2017 at 10:39 am #769849Yes 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.March 31, 2017 at 6:10 pm #770109Hi,
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- This reply was modified 7 years, 9 months ago by Jordan Shannon.
April 3, 2017 at 10:00 am #770990Thanks a lot! This is what i needed.
April 3, 2017 at 3:11 pm #771165Hi,
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 -
AuthorPosts
- The topic ‘Masonry gallery without popup’ is closed to new replies.