Hi @nicolbc
You can not make a slider scale based on the height of the container, it scales rather based on its width. So as your container becomes wider, so your slider will be. Here you can learn more about the factors that define the size of your slider:
For this reason you shouldn’t limit the container’s height as that could make the container smaller than the actual height of the slider, thus the bottom part of the slider would overflow it, and if you also have overflow hidden specified, the slider will be cropped.
On the other hand, what you are trying to achieve is physically not possible, since if I understand correctly you want:
- the slider to be exactly as wide and high as the viewport ( the “Full page” layout of the Pro version could make your slider scale like that, however as per the forum guidelines, on this forum we are no allowed to discuss topics about commercial products such as the Pro version. So if you have presales questions connected to this feature, please contact us directly over the ticket system: https://smartslider3.com/contact-us/presale-questions/ )
- and meanwhile you also want a background image to cover this dynamically sized area without the image being cropped or distorted.
This is not possible since generally speaking if the size of the area ( in this case the slider ) might changes based on the screen width, then you won’t be able to match the aspect ratio of the background image to the aspect ratio of the area, which means your image will be either cropped, distorted or it won’t cover the entire area. In the documentation below you can learn more about the background image fill modes:
So to sum things up:
- if you want all parts of the background image to be visible, then as Robert mentioned above you will need to use the Fit or Blur fit fill modes.
- and if you want the slider to go both as wide and high as the viewport is, then that is only possible with the Pro version, that we can not support on this forum
Best regards,
Laszlo.