Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 2
roygbiv808

Find collection id Squarespace 7

Question

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?

Edited by TreyT
retag

Share this post


Link to post

5 answers to this question

Recommended Posts

  • 2

Go to page, view the page source and find url-slug","id (or "fullurl")

The collection ID will be between those two possible search parameters.

Edited by jpwv

Share this post


Link to post
  • 0

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":

Edited by roygbiv808

Share this post


Link to post
  • 0

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.

Share this post


Link to post
  • 0

If you're a Mac user using Safari, press option-commons-u ( a source code will appear underlying the page) On the left hand top corner, there is a small search icon. Type in - body id and hit enter. The id will show up.

Edited by Alice Ng

Share this post


Link to post
Guest
This topic is now closed to further replies.

×
×
  • Create New...