Jump to content

How do I remove the one section of the footer on certains pages?

Recommended Posts

  • Replies 2
  • Views 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

12 hours ago, ElizabethM said:

Hi ! 

I would like to know how to hide a section of the footer on some pages ? 

I've created two sections for the footers that will display depending the page. 


Thanks ! 

Can you share your website URL?

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


Link to comment

First section will be: footer.sections section:nth-child(1)

Second section will be: footer.sections section:nth-child(2)

Suppose you want to hide Second Section in a specific page, you can add this code to Page Header Code Injection

  footer.sections section:nth-child(1) {
  	display: none !important;

If you use Personal/Basic Plan, you can edit page > Add a Code Block (anywhere on page) > Then paste the code

  footer.sections section:nth-child(1) {
  	display: none !important;


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

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.