Open postmastersteve opened 6 years ago
+1 Jen Lucas ticket 175846
+1 David Wallters ticket 176098
+1 Matt Hudson and tons of other people - they want to create a block with a background image without requiring that there be an empty widget in the block. Using padding or a min-height option would be rad.
Users frequently want to create layouts which have a prominent "hero" image or gallery area at the top of their layout. They want to overlay items like navigation menus, logos, "scroll down" arrows, etc.
To overlay widgets, the image or gallery must be applied as a background to the block, but the behavior of these background elements frequently crops the background out of view. (e.g. wide backgrounds seen on tall phone screens)
Proposing the option to have a block read the aspect ratio of the background image or background gallery to set the
min-height
value for the block, such that cropping can be avoided while still providing the ability to overlay widgets in a dynamic fashion. For example: