kamiltariq Posted February 11, 2021 Share Posted February 11, 2021 Site URL: https://teal-elephant-p648.squarespace.com/afsana-les-histoires HI All, Been going throug the responses here to solve a little issue I'm having with some CSS in 7.1 (making the switch from 7.0 to 7.1). The problem was that the full bleed image being cropped on mobile. Which I sorted out after finding some custom CSS code, except there is a bunch of grey deadspace showing up underneath the section. Can anyone help to get rid of this? (the space shows up only on mobile. Site password 1122 Thank you. Link to comment
kamiltariq Posted February 11, 2021 Author Share Posted February 11, 2021 @media screen and (max-width:640px) { [data-section-id="6024f7cbb24a064cad6e4396"] .section-background img { width: 100% !important; height: auto !important; } } @media screen and (max-width:767px) { [data-section-id="6024f7cbb24a064cad6e4396"] { min-height: 40vh !important; } } That's the code i'm using. Link to comment
tuanphan Posted February 14, 2021 Share Posted February 14, 2021 In your code, remove this code @media screen and (max-width:640px) { [data-section-id="6024f7cbb24a064cad6e4396"] .section-background img { width: 100% !important; height: auto !important; } } next adjust 40vh to another number what you feel okay Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment