Tagged: Image Gallery
Hello everybody,
I have troubles with the image gallery.
Right now when clicking on the images, it sends to the image url, but I don’t want the images to be clickable.
I have been reading a lot of posts about this problem lately and I have tried many things that are not working for me:
– lightbox is disabled and no link added to the images
– .big-preview.single-big a {
pointer-events: none;
} in quick css, not working for me
– //activates the prettyphoto lightbox
//$(container).avia_activate_lightbox({callback:’avia_lightbox_callback’});
in avia.js. I have changed this lines in my file and I have uploaded it on the server with Filezilla, but when I use inspect with chrome I see the original version of avia.js and no changes on the website.
I really hope you can help me.
Thank you very much
Michela
Hey garnerimichela,
Thanks for that, where can we see the element you want to disable the links on? Please link to the page directly.
Best regards,
Rikard
Hi Michela,
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
.avianolink.noLightbox {
pointer-events: none;
}
If you need further assistance please let us know.
Best regards,
Victoria
It works perfectly!
Thank you very much.
Have a good day
Michela
Hi,
I’m glad you were able to get this solved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon