Tagged: ajax portfolio
I need to disable lightbox for AJAX portfolio items. A pop-up window from inside of another pop-up window (ajax) is a bit of a hassle to me. Lightbox for the rest should stay. Where to dig in the code?
Hi,
Can you post the link to the portfolio page please?
Regards,
Josue
Hey!
Try adding this code to the Quick CSS:
.ajax_slide a[rel="lightbox"] {
pointer-events: none;
}
Cheers!
Josue
Yep, it worked. But there is a minor issue: after double-clicking an image in portfolio ajax popup, it turns red – try in now on http://www.skoro-prazdnik.ru Can it be solved?
Hey!
Change the code to:
.ajax_slide a[rel="lightbox"], .ajax_slide .avia-slideshow-inner ::selection {
pointer-events: none;
background: transparent !important;
}
Cheers!
Josue
Wow, thanks a lot for such a fast response. It worked like a charm!
You are welcome, glad we could help :)
Regards,
Josue