The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Target element by specific page URL Reply To: [Solved] Target element by specific page URL


For any other sad bastards like me who are trying to target specific elements in a Squarespace template (elements you have NOT necessarily created yourself) I believe it’s best to target specific elements with their #collection ID coming first. Each page <body> in Squarespace gets given its own #collection ID.


#collection-54c80d1de1b051522508c579 .page-title {
color: Tomato;

This means you can style the page title (or whatever) in a unique way on a per-page basis. I hope this helps someone sometime…