hi , I have inserted the image carousel addon with height about 300px. there is a way to having the height adaptive to different screens? I see also options for tablet and mobile. thank you
Staff replied
Templates
Addon Image carousel
1 reply
Mehtaz Afsana Borsha Staff
Hi
Thanks for contacting us. Yes on settings you can set it for mobile and tab also. You can also use CSS media query.
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {...}
/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {...}
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {...}
/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {...}
/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {...}
It may help you. You can also follow this link below:
https://www.w3schools.com/css/css_rwd_mediaqueries.asp
-Regards.
Log in to reply.