Archived topic
background image size
1 reply · Started by jerry on January 30, 2023
Hi,there.I want to set my container to only display a background image, and the container has no other elements. For example, my image is 533*300px. I set padding (top 150px bottom150px), but only part of the background image is displayed, not the complete background image.could you help me?
background image

padding (top 150px bottom150px)

Hi there,
is that Container Block spanning the full width of the screen?
if so calculate your images aspect ratio, height / width * 100 eg. `300 / 533 * 100 = 56.
select the Container Block and set is min height to 56 VW