mauramanor Posted December 29, 2020 Share Posted December 29, 2020 Site URL: https://giraffe-carnation-cfwm.squarespace.com/ Hi! I am using this code to make the top banner on mobile section larger, but when I add it, the footer is messing up. How can I avoid this but still make the section at the top larger? //MOBILE TOP IMAGE SECTION// @media screen and (max-width:767px) { .homepage section:first-child { padding-top: 180px !important; height: 50vh !important; min-height: unset !important; } } Should look like this: Link to comment
Beyondspace Posted December 29, 2020 Share Posted December 29, 2020 21 minutes ago, mauramanor said: Site URL: https://giraffe-carnation-cfwm.squarespace.com/ Hi! I am using this code to make the top banner on mobile section larger, but when I add it, the footer is messing up. How can I avoid this but still make the section at the top larger? //MOBILE TOP IMAGE SECTION// @media screen and (max-width:767px) { .homepage section:first-child { padding-top: 180px !important; height: 50vh !important; min-height: unset !important; } } Should look like this: Try this @media screen and (max-width:767px) { .homepage #page section:first-child { padding-top: 180px !important; height: 50vh !important; min-height: unset !important; } } BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
mauramanor Posted December 30, 2020 Author Share Posted December 30, 2020 @bangank36 THAT WORKED! Thank you SO much! Link to comment
mauramanor Posted January 4, 2021 Author Share Posted January 4, 2021 @bangank36Hi! If I wanted to do this to other pages, what would I replace .homepage with? Link to comment
tuanphan Posted January 6, 2021 Share Posted January 6, 2021 On 1/5/2021 at 5:03 AM, mauramanor said: @bangank36Hi! If I wanted to do this to other pages, what would I replace .homepage with? replace this name .homepage #page section:first-child with Quote data section id Find data section id with this tool https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff?hl=en 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.