Jumbojet Posted May 10, 2021 Share Posted May 10, 2021 Site URL: https://lion-pike-eywa.squarespace.com/ Hi, I'm trying to resize the banner image on my website for mobile so that the logo doesn't crop off in this display. I'm a beginner at CSS codes and have tried several codes i found online, of which none seem to work. Here's one I'm currently using: @media only screen and (max-width:640px) { #block-55e89da83b15440928f7 {width:0%; margin:auto}} Can someone help me figure out what I'm doing wrong? https://lion-pike-eywa.squarespace.com/ Link to comment
tuanphan Posted May 12, 2021 Share Posted May 12, 2021 Hi, You mean Game Change Enablers image on mobile? Add to Design > Custom CSS > Then save & reload the site /* Resize background image effect */ @media screen and (max-width:767px) { [data-section-id="6094ec2a8bdc1346da159ab6"] .section-background-content { z-index: 999; position: relative !important; } [data-section-id="6094ec2a8bdc1346da159ab6"] .section-background-canvas { visibility: hidden; } [data-section-id="6094ec2a8bdc1346da159ab6"] img { visibility: visible !important; height: auto !important; } [data-section-id="6094ec2a8bdc1346da159ab6"] { min-height: unset !important; height: 25vh !important; }} 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
Jumbojet Posted May 21, 2021 Author Share Posted May 21, 2021 Worked like a charm @tuanphan Thanks so much! 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