Identifying Code Block ID’s in Squarespace: A Guide for Custom CSS

When it comes to web design, efficiently modifying specific parts of your page can be a daunting task. However, with the use of unique identifiers called Block IDs, the process becomes much simpler. In this guide, we will explore two methods to find and utilize Block IDs for seamless CSS styling on Squarespace. Get ready to enhance your web design skills and save time with these easy steps!

Option 1: Squarespace Collection/Block Identifier - Chrome Extension

To make your web design journey smoother, we recommend using the Squarespace Collection/Block Identifier Chrome extension. Follow these steps:

  1. Download the free Chrome Extension: Access the link provided below to download the extension. [You can download the extension here]

  2. Locate the Block IDs: After installing the extension, click on the multi-square icon at the top of your browser window (you may need to click “manage extensions” then “pin” the extension to your tool bar.) This will display the Block IDs associated with each collection/block on your Squarespace page.

  3. Copy Block IDs: To quickly copy a Block ID to your clipboard, simply click on the ID overlay buttons provided by the extension.

Note: The Squarespace Collection/Block Identifier Chrome extension is exclusively designed for Squarespace websites.

Note: Block IDs are for individual blocks. Sections IDs are for new sections. Also note the extension at the top right


Related Posts


Option 2: Use Inspect in Google Chrome

While the Chrome extension mentioned above is highly recommended, you can also find Block IDs using the Inspect feature in Google Chrome. Here's how:

  1. Access Inspect: Right-click on any element on your Squarespace page or double-tap it. From the context menu that appears, select "Inspect" to open the developer tools.

  2. Explore the Code: Once the developer tools are open, you'll see a comprehensive overview of the page's code. This may seem overwhelming at first, especially if you're new to coding and CSS, but it offers valuable learning opportunities.

  3. Utilize the Cursor Tool: Look for a small box with a cursor icon located on the far left-hand side of the developer tools. Click on it, and as you move your cursor across the page, it will provide helpful information.

  4. Locate Block IDs: By clicking on a specific block element and navigating down to the corresponding code, you can usually find the associated Block ID relatively easily.

Note: #block-b71d9af163a3e216764b is highlighted in this image and also appears on the image above

Comparison: Chrome Extension vs. Manual Inspect

While the Chrome extension simplifies the process by displaying the Block IDs directly, manually sourcing through Inspect provides a more in-depth understanding of the page's code. Here's a quick comparison:

Chrome Extension: Easily identify Block IDs with the extension's white overlay buttons.

Manual Inspect: Offers a deeper dive into the code, allowing you to explore complex CSS classes and gain valuable coding knowledge.

Conclusion:

By utilizing Block IDs in your web design workflow, you can enhance your CSS styling experience and save precious time. Whether you choose the convenient Squarespace Collection/Block Identifier Chrome extension or the manual Inspect method, finding and utilizing Block IDs will undoubtedly streamline your web design process. Empower yourself with these tools and take your web design skills to new heights!

As always, if you have any questions, feel free to reach out!

Previous
Previous

How to Customize Summary Block Borders in Squarespace

Next
Next

How to Automate Carousel Summary Blocks on Squarespace Using HTML and JavaScript