Responsive slider with fixed height

If you want to have a fixed height for a responsive-slider, you must disable ”max-width” and set width and height to auto. This is NOT a solution for a specific slideshow, just a general thinking of how to solve it.

Ex.)

.slider img {
max-width: none;
height: auto;
width: auto;
}

Then you can set your height for the container div.

Annonser