Answer the question
In order to leave comments, you need to log in
Two fancyboxes on a website with different designs?
It is necessary to fasten 2 pop-up windows to the site with a completely different design. I use fancibox. Faced with the fact that I do not quite understand how to make the design different. For example, the location of the same close button, which is loaded by the script, and which, accordingly, does not have its own selector.
Tell me how to be? It would not be desirable to fasten different plug-ins for each modal window.
Answer the question
In order to leave comments, you need to log in
in the list of settings for the second fantasybox:
wrapCSS : Customizable CSS class for wrapping element (useful for custom styling)
This will probably add a class to the fancybox wrapper that you can dance around with.
You can also do this, this is for those who, like me, practically do not fumble:
In the class, enter: "fancybox myclass"
and in CSS: a.fancybox.myclass
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question