NorahAdams Posted November 27, 2023 Posted November 27, 2023 I have used a block of a custom code to remove the header and footer for my homepage, but there is this orange space at the bottom I can't seem to get rid of by adjusting margins or site width. I've tried a few custom codes but nothing seems to work.
tuanphan Posted November 29, 2023 Posted November 29, 2023 What is site url? We can check easier 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!)
NorahAdams Posted December 1, 2023 Author Posted December 1, 2023 On 11/29/2023 at 1:53 AM, tuanphan said: What is site url? We can check easier https://soybean-clavichord-gm2y.squarespace.com password should be hearhere
tuanphan Posted December 2, 2023 Posted December 2, 2023 8 hours ago, NorahAdams said: https://soybean-clavichord-gm2y.squarespace.com password should be hearhere Use this new code <style> body.homepage section:first-child { height: 100vh !important; } body.homepage { overflow: hidden; } .header, #footer-sections { display: none !important; } </style> 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!)
NorahAdams Posted December 2, 2023 Author Posted December 2, 2023 19 hours ago, tuanphan said: Use this new code <style> body.homepage section:first-child { height: 100vh !important; } body.homepage { overflow: hidden; } .header, #footer-sections { display: none !important; } </style> it says syntax error on the line with "<style>"? also I have this problem for every page on the website, does this address every page or just the homepage?
Solution tuanphan Posted December 4, 2023 Solution Posted December 4, 2023 On 12/3/2023 at 5:03 AM, NorahAdams said: it says syntax error on the line with "<style>"? also I have this problem for every page on the website, does this address every page or just the homepage? The code, you need to add to Home Header Code Injection If you want to add to Custom CSS, use this new code body.homepage section:first-child { height: 100vh !important; } body.homepage { overflow: hidden; } Can you share link to some pages which you have problems with? 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!)
NorahAdams Posted December 4, 2023 Author Posted December 4, 2023 16 hours ago, tuanphan said: If you want to add to Custom CSS, use this new code body.homepage section:first-child { height: 100vh !important; } body.homepage { overflow: hidden; } I tried this and it didn't seem to work still? It still has the orange line at the bottom when I scroll down. This problem occurs on every page on my website
tuanphan Posted December 5, 2023 Posted December 5, 2023 Can you check on preview mode? Sometime some custom code won't run on edit mode 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!)
NorahAdams Posted December 5, 2023 Author Posted December 5, 2023 Okay I see now! Thank you so much for your help!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment