hi
I have had a look through the forum posts but cannot find exactly what I am after here.
I wish to set a background image for a page and enable Parallax. Image will be 1440px x 900px. I want the image to to be responsive on different screens, resizing as required and always being 100% width and height. This is absolutely possibly using an Image element, but there are issues with a Background Image.
If I set min height 900px in Style, the height is static yet crops some off the bottom. How is that possible if the image is 900px? If I set height, the same result. I want it to behave like an image would if you used the contain property in CSS. Maintain proportion but be responsive to screen sizes.
if I set height: 100vh; I get the height perfect, but I am unable to have this along with width: 100%;. The height is perfect but the width is cropped on smaller screens
Is it at all possible to have 100% responsive background images? if not, is it possible to have the Parallax effect on a standard Image element?
Barring that, is it possible to have the image change from a background to an image element on smaller screens, so as to make it responsive on smaller screen and retain its proportions?
Regards