beeskay Posted April 23, 2021 Share Posted April 23, 2021 Site URL: https://www.binoodhasasi.com/work/chinatownxr Hi, I was working on my website and the mobile screens do not resize the first background image to mobile screen. Is there a custom css code I can use to solve this? Attaching an image to show the issue. Link to comment
Spark_Plugin Posted April 23, 2021 Share Posted April 23, 2021 I'n not sure if this is the best way to do it, but it solves your problem😊 Change "40" below to your liking. @media screen and (max-width: 800px) and (orientation: portrait) { [data-section-id="60654e74029be7381101a5ae"] { max-height: 40vh; min-height: 40vh; } } tuanphan 1 - Rasmus Myhrberg, Founder of Spark Plugin Spark Plugin – The Ultimate Design Toolkit for Squarespace Link to comment
tuanphan Posted April 24, 2021 Share Posted April 24, 2021 On 4/23/2021 at 2:48 PM, beeskay said: Site URL: https://www.binoodhasasi.com/work/chinatownxr Hi, I was working on my website and the mobile screens do not resize the first background image to mobile screen. Is there a custom css code I can use to solve this? Attaching an image to show the issue. You can also use this CSS (Add to Design > Custom CSS) /* Chinatown XR - resize mobile image */ @media screen and (max-width:767px) { [data-section-id="60654e74029be7381101a5ae"] { min-height: unset !important; height: 40vh; margin-top: 10vh; } } Use this tool to find data section id, if you have similar problem in the future. Spark_Plugin 1 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