Replies: 2 comments 5 replies
-
i would love to know this too |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi, You can, for example, simply use callbacks to access slide element, and
then you can do whatever you need.
Janis
…On Fri, 18 Nov 2022 at 09:16, mDesignHub ***@***.***> wrote:
i would love to know this too
—
Reply to this email directly, view it on GitHub
<#349 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIBWZKQMKDIIAN7AHOOAETWI5CPTANCNFSM6AAAAAAQHAOWRI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I've tried adding a class to the element that is created with "fancybox__content" class on it but unable to get it to work. Below is the code that I tried to use:
Fancybox.show([{ src: '/example', type: "ajax", dragToClose: false, keyboard: false, mainClass: "exampleClass" }]);
I need to be able to add this class so that I can manage the width of the fancybox content depending on the content that I would like to show. I thought that the option to do this was "mainClass" but this doesn't seem to do anything?
Any help much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions