mullkv Posted June 5, 2020 Share Posted June 5, 2020 Site URL: https://www.ministryofshadows.co.uk Hi, I've produced a site: https://www.ministryofshadows.co.uk that I want to have large, full bleed header images. It's a photography site, so a lot of people will be looking on a computer or tablet, but for those that look on a mobile device, my question is this: Is it possible to have full bleed images responsive? So they essentially resize, down rather than just zoom into the middle of the image? I have tried the following code, but to no avail: @media screen and (max-width: 767px) { div.section-background[data-width="full-bleed"] { height: 27vh !important; } Many Thanks & Appoligise if this has been asked before - I have tried searching. Kevin Link to comment
tuanphan Posted June 8, 2020 Share Posted June 8, 2020 Try adding to Home > Design > Custom CSS @media screen and (max-width:767px) { [data-section-id="5e8b63ddf180012b00255915"] { min-height: 30vh !important; margin-top: 100px; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.