Changing height for different resolutions
-
I have the following slider settings:
Layout Full width
Responsive yes
Start width 1280
Start height 400Proportions 1280/400 look fine on small screens, however, the slider is always 400px height and it’s too small for 19″ or bigger screens.
I would like to either preserve those proportions or to change the height with media queries.I’ve tried this:
@media screen and (min-width: 1700px) {
.crelly-slider {height: 550px !important;}
}but the height is hard-coded and it doesn’t work:
<div style=”width: 1905px; height: 400px;” class=”crellyslider”>So how can I change this?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Changing height for different resolutions’ is closed to new replies.