Whenever I switch between portrait and landscape mode on my website, the gallery sizing becomes an issue. It looks good in portrait mode but ends up being too large in landscape mode, especially on my iPhone SE where it doesn't fit properly on the screen. I'm struggling to figure out how to make it smaller. Can anyone provide some guidance or assistance? Url:
@media screen and (max-width: 736px) {
#galery-carousel {
width: 100% !important;
}
.carousel.slide {
width: 100% !important;
}}
Desktop:
.galerij-slider {
width: 60% !important;
margin-left: auto;
margin-right: auto;
margin-top: 100px;
}
The mobile CSS is not recognizing the div for galerij-slider. Any help with this would be greatly appreciated.