Guest Posted January 18, 2021 Posted January 18, 2021 Site URL: https://horse-onion-layz.squarespace.com/about Hi there, Does anyone know the code I need to use in order to be able to reduce the height of my header on mobile ONLY? I am happy with the header size on desktop but simply want to reduce height on mobile. Thanks a million.
Beyondspace Posted January 18, 2021 Posted January 18, 2021 29 minutes ago, Peterotoole said: Site URL: https://horse-onion-layz.squarespace.com/about-3 Hi there, Does anyone know the code I need to use in order to be able to reduce the height of my header on mobile ONLY? I am happy with the header size on desktop but simply want to reduce height on mobile. Thanks a million. Try this in Design->custom css and let us know @media only screen and (max-width: 600px) { section[data-section-id="5fff89c3e11bb3272d4fce10"] { min-height: 70vh !important; } } BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - PDF Lightbox popup - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> No-code customisations for Squarespace
Guest Posted January 18, 2021 Posted January 18, 2021 20 hours ago, bangank36 said: Try this in Design->custom css and let us know @media only screen and (max-width: 600px) { section[data-section-id="5fff89c3e11bb3272d4fce10"] { min-height: 70vh !important; } } Thanks so much! It works but what it does it stretch or condense the image. It does't reduce the image proportionally. Is there any way for it to respect the original proportions of the original image?
tuanphan Posted January 20, 2021 Posted January 20, 2021 The url doesn't exist. Can you check again? @Peterotoole 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!)
Guest Posted January 20, 2021 Posted January 20, 2021 2 hours ago, tuanphan said: The url doesn't exist. Can you check again? @Peterotoole Sorry the same problem as my last post. The address above has now been updated. Thanks
Recommended Posts
Archived
This topic is now archived and is closed to further replies.