Set width? #349
stephenmeehanuk
started this conversation in
General
Set width?
#349
Replies: 2 comments
-
Hi, |
Beta Was this translation helpful? Give feedback.
0 replies
-
Not a daft question at all :) The width setting has a bit of a catch to it. In the documentation it says it is for setting the width of Inline and iFrame Slides, rather than the default Image Slides (or any other for that fact). You can set a Which might look something like this: <a href="src/to/my/large-img.jpeg" data-width="600px" data-height="400px" class="glightbox">
<img src="src/to/my/thumbnail-img.jpeg" alt="a unique description of the image for screen readers" />
</a> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
Apologies for the daft question, I've looked at the docs, and I can't seem to get this work....
I'm using this, but I can't figure out how to override the width of the light-box
I thought adding
width
would work, but it doesn't override it?Beta Was this translation helpful? Give feedback.
All reactions