Jump to content

Find collection id Squarespace 7

Recommended Posts

I have tried to find the collection id for each page by right clicking and looking at the source then searching for body id. I also tried to look in the url section for each page, then tried to go to the page I want to edit and looking at the url in the browser address bar. Where can I find the page/collection id to insert custom css for each page?

Link to comment
  • Replies 5
  • Created
  • Last Reply

So I emailed support and go this answer:

You’ll want to use something like Google Developer Tools which would allow you to inspect the element of your page, which will allow you to view the HTML and CSS of the site. Using this method, you can then find the collection IDs that target the heading box you’re looking to remove or hide. You can then write up your own custom CSS to hide them in the Custom CSS Editor.

Here is how I was able to find it:

  1. Right Click on the page, view page source
  2. About a 1/4 of the way down you will be able to see a list of your pages with the collection id listed. It works from any page and it will list each page and child in a list:
    
    
    [{"title":"Home","urlId":"info","typeName":"info","collectionId":"yourid","enabled":true,"collectionType":7},{"title":"Projects","urlId":"projects","typeName":"page","collectionId":"yourid","enabled":true,"collectionType":10},{"title":"Resources","urlId":"new-folder-1","typeName":"folders","collectionId":"54650fb6e4b07be73e333454","children":

Link to comment
  • 3 weeks later...

I too was looking for the collection ID's. Prior to SquareSpace 7 I colected all the collection ID's and placed them in a file. I noticed that following your advice, that the collection ID's did not change. They are only harder to find.Thank you for your timely advice.

Link to comment
  • 2 weeks later...
  • 5 months later...
  • 3 years later...

Archived

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

Guest
This topic is now 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.