bertacabestanyBC Posted November 7, 2019 Share Posted November 7, 2019 Hi, I've got a website on Squarespace with Marta's template and I would like to hide the header and footer from one page. I've tried with CSS code's I found on internet but none of them work for my template. Please help!!! Link to comment
colin.irwin Posted November 7, 2019 Share Posted November 7, 2019 Find the collection id of the page in question. You do this by inspecting the source code and looking at the body tag. Then insert the collection id into the following code (making sure you keep the # character in the code) and paste the edited code into your custom css area. #collection-id-here { header, footer { display: none !important; } } lisa.popa 1 I'm Colin Irwin aka silvabokis. I've been a Squarespace designer & developer since 2013. I remember when it was all wild prairies round these here parts. 🐃🤠 Advice I give on here is free, though I may sometimes post an affiliate link or promote something I've written. That reminds me.. ..you might want to check out my Squarespace template finder or have a look at my other Squarespace tips Speaking of tips, 💲I've got a tip jar that you're welcome to throw a few quid into if you think I've helped you. If you're looking for a Squarespace developer Book a chat or Drop me a line - first meeting is always free Link to comment
bertacabestanyBC Posted November 7, 2019 Author Share Posted November 7, 2019 Hi Colin , Thanks for your help, I've tried following your instructions but still not hiding... 😢 Find screen shots below Link to comment
colin.irwin Posted November 7, 2019 Share Posted November 7, 2019 That's not where you inject it.. Put it in Design > Custom CSS bertacabestanyBC 1 I'm Colin Irwin aka silvabokis. I've been a Squarespace designer & developer since 2013. I remember when it was all wild prairies round these here parts. 🐃🤠 Advice I give on here is free, though I may sometimes post an affiliate link or promote something I've written. That reminds me.. ..you might want to check out my Squarespace template finder or have a look at my other Squarespace tips Speaking of tips, 💲I've got a tip jar that you're welcome to throw a few quid into if you think I've helped you. If you're looking for a Squarespace developer Book a chat or Drop me a line - first meeting is always free Link to comment
bertacabestanyBC Posted November 7, 2019 Author Share Posted November 7, 2019 Oh!!! Works perfect now!!! Thanks!!!!😁 How could I fix where it says ''BERTA'S JOURNAL'' as a header now? https://www.bertacabestany.com/weekly-journal Also, how can I configure it to open in a new tab once they click JOURNAL in the home page? Link to comment
wayne Posted February 26, 2020 Share Posted February 26, 2020 I just used this CSS and it works perfectly. Thanks @colin.irwin! Founder & CEO of Resonant Pixel Co. I've been creating websites since 1996, started with Squarespace in 2010, and now sell web design as a productized service. I'm also the creator of the upcoming Productize Squarespace Design course. If I've been helpful, you can buy me a cup of coffee to say thanks. Link to comment
tuanphan Posted February 26, 2020 Share Posted February 26, 2020 4 hours ago, wayne said: I just used this CSS and it works perfectly. Thanks @colin.irwin! You can also use this code (for all templates in SS 7.0 & 7.1) and here for footer https://beaverhero.com/remove-footer-squarespace/ 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
jasminesarian Posted September 11, 2020 Share Posted September 11, 2020 Hi @colin.irwin thanks this worked for me on desktop! But I can't figure out how to make it work on mobile, could you help with that? Thank you! Link to comment
NancyCortez Posted September 30, 2020 Share Posted September 30, 2020 This is what worked for me to hide the headers and footer on a single page. <style>.header, #footer-sections {display:none!important;}</style> VLewis 1 Link to comment
TinaB Posted October 6, 2020 Share Posted October 6, 2020 On 11/7/2019 at 12:12 PM, colin.irwin said: Find the collection id of the page in question. You do this by inspecting the source code and looking at the body tag. Then insert the collection id into the following code (making sure you keep the # character in the code) and paste the edited code into your custom css area. #collection-id-here { header, footer { display: none !important; } } Hi @colin.irwin I've tried to use your code to hide header and footer from a single page of our website. But I can't find the collection-id, using safari browser. Do you have a nearer tip finding this id? Thank you! Tina Link to comment
tuanphan Posted October 8, 2020 Share Posted October 8, 2020 On 10/6/2020 at 7:57 PM, TinaB said: Hi @colin.irwin I've tried to use your code to hide header and footer from a single page of our website. But I can't find the collection-id, using safari browser. Do you have a nearer tip finding this id? Thank you! Tina You can add code to Page Header. Or if you share link to that page, 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!) Link to comment
TinaB Posted October 15, 2020 Share Posted October 15, 2020 Thanks @tuanphan think I could solve the problem right now. Link to comment
failbetter Posted November 6, 2021 Share Posted November 6, 2021 does anyone know why i'm still getting a sort of blank space where the footer should be? I've got the footer and header hidden but when you scroll down theres a blank white bit..... https://hibiscus-lobster-rxx5.squarespace.com Link to comment
tuanphan Posted November 7, 2021 Share Posted November 7, 2021 21 hours ago, failbetter said: does anyone know why i'm still getting a sort of blank space where the footer should be? I've got the footer and header hidden but when you scroll down theres a blank white bit..... https://hibiscus-lobster-rxx5.squarespace.com Remove white at bottom of cover page only? 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
failbetter Posted November 8, 2021 Share Posted November 8, 2021 Yeah don't worry - I figured it out 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