Hi,
I’m using the Iconlist to create download links for high-res photos, but of course they open in lightbox.
I know there is a noLightbox class, but I can’t figure out how to utilize it since I can’t access the raw code.
I tried creating a Section ID & adding the class that way but it didn’t work.
Appreciate any help with this.
Hi!
Try applying “noLightbox” to the list element instead – http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/
Regards,
Josue
Hi Josue,
Thanks for the tip, but unfortunately that doesn’t seem to be working.
So, I turned on the Custom CSS Class, created the class (epk-list) for the Icon List element, & in Quick CSS added:
.epk-list {noLightbox !important;}
Also tried:
#epk-list {noLightbox !important;}
Still getting the Lightbox.
Also tried:
.#top epk-list {noLightbox !important;}
No Go
Inspecting the element in my browser I can see that lightbox is still beeing added to the links:
<a href="http://xxxxxxxx_black_and_white_1.jpg" title="Photo Black & White (JPG)" target="_blank" style="background-color:#c3512f; " class="iconlist_icon avia-font-entypo-fontello lightbox-added"></a>
Hey!
Please remove custom CSS code from Quick CSS field. You should edit your element and enter “noLightbox” in custom CSS field.
Cheers!
Yigit
Hi Yigit,
That did the trick!
Cheers & thanks so much!