auto width and height
Hello everybody thanks for read!
I tried to make a galery auto width and height but i don´t know how to do.
JS:
fullscreen: {
enabled: true,
nativeFS: true
},
autoPlay: {
// autoplay options go gere
enabled: true,
pauseOnHover: true
},
controlNavigation: 'none',
imageScaleMode: 'fit',
loop: true,
numImagesToPreload:3,
arrowsNav:true,
arrowsNavAutoHide: true,
arrowsNavHideOnTouch: true,
fadeinLoadedSlide: true,
/////
Css
<style>
#gallery-1 {
width: 100%;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
</style>
when it's time to look at it on the phone it's cut, how do I make it look like a full screen without borders?
auto width and height
-
00.jpg 228 KB
-
WhatsApp_Image_2019-04-30_at_9.13.23_AM.jpeg 183 KB
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Dmitry Semenov on 04 May, 2019 03:57 AM
Hello,
The size of the slider depends on its parent containers and root element styles, please refer to this mini-guide - http://help.dimsemenov.com/kb/royalslider-jquery-plugin-faq/how-to-...