minnieosc123 Posted November 2, 2022 Share 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 Link to comment
Beyondspace Posted November 2, 2022 Share 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) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget 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
Beyondspace Posted November 2, 2022 Share Posted November 2, 2022 My testing BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget 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
minnieosc123 Posted November 4, 2022 Author Share 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 Link to comment
tuanphan Posted November 6, 2022 Share 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 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
minnieosc123 Posted November 9, 2022 Author Share 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!! Link to comment
tuanphan Posted November 12, 2022 Share 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 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