Jump to content

Hiding Newsletter block and/or footer from certain pages

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.