brandi_sqspace Posted December 25, 2022 Share Posted December 25, 2022 Hi there! I think I've asked something similar before, but can't find it. I'm now trying to hide the footer on just this one page: https://thisplusthat.com/newsletter Does anyone know the custom code to pull that off? Thank you! Link to comment
Solution tuanphan Posted December 25, 2022 Solution Share Posted December 25, 2022 Edit Newsletter page > Add a Code Block (any where) > Paste this code <style> footer.sections { display: none !important; } </style> If you use a Business Plan/higher, you can also add the code to Newsletter Page Header jallory 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!) Link to comment
brandi_sqspace Posted December 25, 2022 Author Share Posted December 25, 2022 24 minutes ago, tuanphan said: Edit Newsletter page > Add a Code Block (any where) > Paste this code <style> footer.sections { display: none !important; } </style> If you use a Business Plan/higher, you can also add the code to Newsletter Page Header As always, @tuanphan, you are my hero. Sincere gratitude! Link to comment
asprikhodko Posted July 12, 2023 Share Posted July 12, 2023 @tuanphan is there a way to also have different footer on different pages? I have 2 addresses&phone # for my business and i want some to have one adress and some to have another Link to comment
tuanphan Posted July 15, 2023 Share Posted July 15, 2023 On 7/13/2023 at 2:41 AM, asprikhodko said: @tuanphan is there a way to also have different footer on different pages? I have 2 addresses&phone # for my business and i want some to have one adress and some to have another You can add 2 sections in Footer, then use this code to Page Header This code will remove Top Section' <style> footer.sections section:nth-child(1) { display: none; } </style> This code will remove Bottom Section <style> footer.sections section:nth-child(2) { display: none; } </style> asprikhodko and emilykrause 1 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!) Link to comment
asprikhodko Posted July 17, 2023 Share Posted July 17, 2023 @tuanphan thank you so much!! Link to comment
lildobber13 Posted August 11, 2023 Share Posted August 11, 2023 I am trying to accomplish this, and we have the Basic Commerce package; however, the Page Header Code Injection doesn't seem to work for us. Any idea what might be causing the issue? Link to comment
tuanphan Posted August 12, 2023 Share Posted August 12, 2023 17 hours ago, lildobber13 said: I am trying to accomplish this, and we have the Basic Commerce package; however, the Page Header Code Injection doesn't seem to work for us. Any idea what might be causing the issue? Can you keep code in Page Header + share link to 1 page? We can check problem 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
lildobber13 Posted August 14, 2023 Share Posted August 14, 2023 Hi Tuanphan, absolutely! Here is a test page with the code:https://www.ellisporter.com/test-page-hide-footer Link to comment
tuanphan Posted August 16, 2023 Share Posted August 16, 2023 On 8/15/2023 at 3:46 AM, lildobber13 said: Hi Tuanphan, absolutely! Here is a test page with the code:https://www.ellisporter.com/test-page-hide-footer Your site is not 7.1 version so you can't use above code. You want to hide this section? Use this code instead <style> div#page-footer-wrapper { display: none !important; } </style> lildobber13 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!) Link to comment
lildobber13 Posted August 17, 2023 Share Posted August 17, 2023 That did it! Thank you! Link to comment
DiegoNacho Posted November 1, 2023 Share Posted November 1, 2023 How do we undo this, it worked but now I can't find the footer at all when I try to edit. Link to comment
creedon Posted November 1, 2023 Share Posted November 1, 2023 48 minutes ago, DiegoNacho said: How do we undo this, it worked but now I can't find the footer at all when I try to edit. Please see the following. CSS code that you don't want to be active while in Preview, the selector should be preceded with. html:not( .squarespace-damask ) Let us know how it goes. DiegoNacho 1 Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
DiegoNacho Posted November 8, 2023 Share Posted November 8, 2023 Cool. Just needed disable scripts by adding /safe to end of the editing url page. It worked! creedon 1 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