minnieosc123 Posted November 2, 2022 Posted November 2, 2022 Hi, my site is alwaysajt.com. I used CSS to remove the footer on the homepage and now I'm left with a bit of a strange gap at the bottom on mobile. The code I used was the one below and I put it into a code block on the homepage <style> .header, #footer-sections{ display:none !important; } </style> Thanks
Beyondspace Posted November 2, 2022 Posted November 2, 2022 3 hours ago, minnieosc123 said: Hi, my site is alwaysajt.com. I used CSS to remove the footer on the homepage and now I'm left with a bit of a strange gap at the bottom on mobile. The code I used was the one below and I put it into a code block on the homepage <style> .header, #footer-sections{ display:none !important; } </style> Thanks Try adding to Home > Design > Custom Css @media only screen and (max-width: 767px) { section[data-section-id="633c240afe2c8c221626920e"] { height: 100vh; } } Let me know how it works on your site Support me by pressing 👍 or marking as solution if this useful for you 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
Beyondspace Posted November 2, 2022 Posted November 2, 2022 My testing 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
minnieosc123 Posted November 4, 2022 Author Posted November 4, 2022 On 11/3/2022 at 12:50 AM, bangank36 said: Try adding to Home > Design > Custom Css @media only screen and (max-width: 767px) { section[data-section-id="633c240afe2c8c221626920e"] { height: 100vh; } } Let me know how it works on your site Support me by pressing 👍 or marking as solution if this useful for you This actually creates a large gap on the homepage
tuanphan Posted November 6, 2022 Posted November 6, 2022 On 11/4/2022 at 3:54 PM, minnieosc123 said: This actually creates a large gap on the homepage Use this new code (Page Header) <style> footer#footer-sections, header#header { display: none; } article section { height: 100vh !important; } </style> Cyperpunk-girl-333 1 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!)
minnieosc123 Posted November 9, 2022 Author Posted November 9, 2022 On 11/6/2022 at 9:40 PM, tuanphan said: Use this new code (Page Header) <style> footer#footer-sections, header#header { display: none; } article section { height: 100vh !important; } </style> Hi, thanks this has worked but it's also removed my header. When I edit the code to remove the header bit it also removes the footer!!
tuanphan Posted November 12, 2022 Posted November 12, 2022 On 11/9/2022 at 7:47 AM, minnieosc123 said: Hi, thanks this has worked but it's also removed my header. When I edit the code to remove the header bit it also removes the footer!! This code will remove header + remove footer + Make section fullheight You want to restore header or footer? We will adjust the code 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment