Fancybox on smaller screens #22
Replies: 1 comment 4 replies
-
Hi, First, you must understand that the space around image (or other content) is created by applying padding to the slide element. There are two ways for you to choose to customize it. One way is using SASS. Every Fancyapps UI component offers Sass variables, but Fancybox even has powerful mixin that you can use to create your own breakpoints and defaults. That means, you can build your own CSS file with custom spacing for any screen size. Check this file - Or you can always choose to simply override CSS, example: Fancybox v4 is very, very flexible and highly customizable, and it is also difficult to choose the default settings. v3 has a |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The default user interface with Fancybox 4 on a desktop is a great improvement over previous versions. However, as the display gets smaller on tablets and phones the interface takes up more screen space than the photo it's trying to highlight. It's a big difference coming from v3. Are there changes coming for smaller screen sizes?
Side by side of version 4 compared to version 3.
Beta Was this translation helpful? Give feedback.
All reactions