mlo01 Posted August 2, 2020 Share Posted August 2, 2020 Site URL: https://bison-buttercup-bdpb.squarespace.com/ IDUMA template: Link: https://bison-buttercup-bdpb.squarespace.com/ Password: 12345 (1) How to get the first image to display full width on mobile device? I tried the following code but it leaves a grey background on mobile. @media screen and (max-width:640px) { [data-section-id="5f249752d6f33d72e0925409"] .section-background img { width: 100% !important; height: auto !important; } } (2) How to get the last image - height large on desktop but small on mobile? Link to comment
tuanphan Posted August 3, 2020 Share Posted August 3, 2020 Q1. Q2. Remove your code & add this code @media screen and (max-width:767px) { /* homepage first banner */ .homepage #page section:nth-child(2) { min-height: 20vh !important; height: 30vh !important; } /* last image */ [data-section-id="5f249752d6f33d72e092540f"] { min-height: 20vh !important; height: 30vh !important; } } 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.