Hi, is it possible remove lightbox by css from only a single page?
can you help me, please?
Hi Andrea!
Please try use the following CSS rule
.single-main-image {
pointer-events: none;
}
and let us know if it works for you.
If not, please do post me a page example with some images, so we can see it.
Cheers!
Basilis
Sorry, but your css does not work!! :-(
I can’t give you the link page because site is on my webserver internal test..
Can you help me in another mode?
Thanks.
Andrea
Hi Basilis, I have already resolved my problem
I have changed code inside /js/avia.js file from this:
exclude : '.noLightbox, .noLightbox a, .fakeLightbox, .lightbox-added, a[href*="dropbox.com"]',
to
exclude : '.page-id-2681 a, .noLightbox, .noLightbox a, .fakeLightbox, .lightbox-added, a[href*="dropbox.com"]',
thanks
Andrea
Hi,
Great, glad you got it fixed and thanks for sharing the solution. Please let us know if you should need any more help on the topic.
Best regards,
Rikard
Hi,
not worked for me. How to disable lightbox for spesific page?
Hi localveri,
Can you give us a link to the page you want to exclude?
Best regards,
Nikko