Answer the question
In order to leave comments, you need to log in
How to create multiple fancybox 3 modals with different styles?
Good,
several modal windows with different designs should be displayed on the site, I display them through fancybox 3, but changing styles can only be done at once by everyone.
I don’t understand how to set styles for each pop-up window, because they are added to the end of the general document.
I tried to add wrapCSS, but the parameter does not add classes, maybe I’m connecting it wrong, of course.
Tell me how to be, who has experience in solving this.
Answer the question
In order to leave comments, you need to log in
In short, I figured it out.
wrapCSS is gone, baseClass can be used instead, there is also slideClass for slides and baseTpl to create a static template.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question