I'm trying to use JSSOR slider on a website. I already figured out how to make it full width but now it's all "responsive" so it scales even the height of the slide. I would like to have fixed height (400px) and 100% width. I almost achieved it so the "slider1_container" is full width and 400px height but the content of it is still responsive.
There's the website: http://carwash-horovice.cz
I appreciate any help you can give me.
To scale jssor slider, it will always keep aspect ratio. You cannot scale with without scaling height.
If you want to keep the original height, you can disable scaling by removing the following code.
In addition, to keep your page responsive and keep the slider auto center, you can wrap the slider by a wrapper.
You can fix the height of the carousel by commenting out $(window).bind("resize", ScaleSlider);
You have an example with the slider at full screen.
http://www.jssor.com/testcase/full-screen-slider.source.html
This is what I'm looking for, but with a limited height. I don't want the aspect ratio of the images to change, but as in the full-screen version, I'd like it to expand to fill the width, and simply crop what doesn't fit within the fixed height. Is this possible?