I’m looking to tweak the hero section in our mobile view so that it looks more consistent across different mobile screen sizes. Currently, the skinnier the screen size, the further away the images get from our navbar, creating some empty space that isn’t ideal.
So what I’m looking for is a way to determine the height of the section based on the height of the div that the images are in, so that the gap between the navbar and the div is more consistent. I definitely want to avoid the images getting hidden under the navbar.
I’ve always been a little confused by the HDPI setting. I’ve been sizing all my images twice their actual dimensions for retina display purposes, and I thought that clicking that setting told Webflow that I’d done that. Am I misunderstanding that?
I’m also wary of using VH for the height because I can’t really preview it without publishing the site and making it live. 85vh looks enormous in the canvas, and I suspect it will cause taller displays like the iPhone X to have a giant gap above the images instead of it happening on smaller displays.
I’m really limited by how wide those images are, so could I set the height of the section to auto and have the section’s top padding determine that gap and make it a variable value so it scales as screen size gets wider?
Oh sure I know after you set the 80vh, then you will drag the image’s edge to set the size.
Do you want me to do a quick video of the process?
And yes, you don’t need to set the HDPI initially, it will set itself after selecting the size. The variants are automatically loaded in WF on the back-end.