Jump to content

Hiding Newsletter block and/or footer from certain pages

Recommended Posts

Hi roc1285.

It looks like the parts you are wanting to hide are within the 'footer' section.

You can hide that entire section by adding custom CSS code.

To add CSS code: 

  1. In the Home Menu, click Design, and then click Custom CSS.

Try adding the following:

#collection-footer-5a1373b59140b75d01fa7b67 {
    display: none;
}

Make sure the section is hidden after you add that code, then click Save. If it doesn't hide what you want, don't save the custom CSS code.

You can use the same code to hide content in other pages, however the '#collection-footer-XXXXXXXX' value will be different for each page, so you will have to find what the value is.

 

To find the id of the HTML code on your page, i used Google Chrome web browser and did the following:

Right click on 'Stay Hip!'.
Select 'Inspect'.
Scrolled up through the code until i saw an id beginning with 'collection-footer'. That is the HTML id of the parent section which included the parts you want to hide (see my screenshot below how this section highlights all the things we want to hide in blue).

 

image.thumb.png.74e2f0533cc6bce53fc6417ecedc58b7.png

 

Hope that helps.

Cheers.

Link to comment

You can use above code, or edit products > Add Code Block > Paste this code

<style>
  /* remove footer social copyright text */
  div#collection-footer-5a1373b59140b75d01fa7b67 {
    display: none;
}
</style>

 

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

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.