Tagged: custom widget, Lightbox
Hi Kriesi team!
I’ve created a custom widget area for my header to place some items above the menu. I have placed a shortcode for a button element, and tried to set it up to go to a lightbox form.
I tested this shortcode on a single page and it worked there, but is not working in my header widget. Please take a look and let me know what is not working here.
Hey premierepc,
I’m not seeing anything that stands out or concerning console errors. Do you have another button that triggers a lightbox on the site that this can be compared to this button?
Best regards,
Jordan Shannon
Hi premierepc,
Looks like lightbox does not initiate outside the main container, like in the header.
Can you disable merging JavaScript for now?
Best regards,
Victoria
Hi Victoria. I’ve disabled javascript merging and it still isn’t working for me.
Hi premierepc,
I added the class and the lightbox works now. Please check.
Best regards,
Victoria
That’s perfect! Thanks, Victoria!
Mark this one as solved!