xpetley Posted February 9, 2021 Share Posted February 9, 2021 Site URL: https://www.cosimainteriors.com/ Hi there, When i added this code: @media screen and (max-width:640px) { .homepage .section-background img { width: 100% !important; height: auto !important; } } I get a huge grey space underneath? Please could you help me get rid of this grey space but so i can keep banner full/80% width Thank you so much. Link to comment
tuanphan Posted February 13, 2021 Share Posted February 13, 2021 Remove your code & add this new code /*resize mobile banner */ @media screen and (max-width:767px) { body.homepage #page section:nth-child(2) { min-height: 20vh !important; height: 30vh; } } 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
xpetley Posted February 16, 2021 Author Share Posted February 16, 2021 Amazing thank you so much! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.