Hello,
I am using the AJAX lightbox in your /lightbox.html example.
Does it allow adding "mainClass" to the popup?
Something similar to data-mainClass="" ?
Or how can i add it easily without editing the the js files?
Thanks
1 reply · opened Apr 15, 2019
Hello,
I am using the AJAX lightbox in your /lightbox.html example.
Does it allow adding "mainClass" to the popup?
Something similar to data-mainClass="" ?
Or how can i add it easily without editing the the js files?
Thanks
Hello,
Unfortunately not! There is no out of the box solution for this at the moment. However, you can consider using the API for the Magnific Lightbox Plugin: https://dimsemenov.com/plugins/magnific-popup/documentation.html#api to add the Main Class based on the Triggered Lightbox Item.
We will definitely try adding a solution for this in the Future Updates.
Let us know if we can help you with anything else or if you find any further issues.
Have the same question, or something new?
Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.
Reply on the dashboard