A curated collection of reusable Squarespace code snippets for custom CSS, card grids, responsive layouts, forms, buttons, mobile spacing fixes, and custom code block sections.
These snippets are designed for Squarespace Code Blocks, Custom CSS, and layout refinements where built-in Squarespace blocks need more control.
A responsive three-card layout that solves uneven spacing, copy alignment, button positioning, and mobile stacking limitations in Squarespace built-in blocks.
View files:
donation-card-grid/index.htmldonation-card-grid/styles.cssdonation-card-grid/README.mdA JavaScript solution for Squarespace 7.1 dropdown folders when parent navigation labels need to redirect users to actual landing pages.
View files:
dropdown-navigation-redirect-fix/script.htmldropdown-navigation-redirect-fix/README.mdA JavaScript and CSS solution that extends Squarespace scroll-reveal animations to custom Code Block elements so they animate consistently with built-in page content.
View files:
code-block-scroll-reveal/script.htmlcode-block-scroll-reveal/styles.csscode-block-scroll-reveal/README.mdA responsive grid that combines compact card styling with table-like row and column organization, solving spacing and alignment limitations for smaller repeated Squarespace content items.
View files:
equipment-card-table-grid/index.htmlequipment-card-table-grid/styles.cssequipment-card-table-grid/README.mdA CSS-only enhancement that adds visible “Previous” and “Next” labels to Squarespace slideshow controls while preserving the built-in arrow icons and applying custom brand colors.
View files:
slideshow-navigation-text-labels/styles.cssslideshow-navigation-text-labels/README.mdA CSS-only navigation enhancement that transforms a selected Squarespace desktop and mobile menu link into a branded CTA button while keeping it within the normal navigation order.
View files:
navigation-link-cta-button/styles.cssnavigation-link-cta-button/README.mdA responsive HTML and CSS marquee that displays clickable publication, press, partner, or client logos in a seamless scrolling strip, extending Squarespace beyond its built-in text-only scrolling options.
View files:
linked-logo-marquee/index.htmllinked-logo-marquee/styles.csslinked-logo-marquee/README.mdA CSS-only solution that restores phone-recorded portrait videos to their original 9:16 display inside the native Squarespace Video Block, avoiding an undersized landscape-style player and unnecessary side bands.
View files:
portrait-video-aspect-ratio-fix/styles.cssportrait-video-aspect-ratio-fix/README.mdA flexible HTML and CSS pill layout that solves Squarespace spacing, wrapping, and alignment limitations when several short content items need to appear as a balanced group.
View files:
responsive-content-pills/index.htmlresponsive-content-pills/styles.cssresponsive-content-pills/README.mdA responsive HTML and CSS pricing layout that solves Squarespace padding, hierarchy, alignment, and equal-height limitations when complex package cards need different visual treatments.
View files:
contrasting-pricing-package-cards/index.htmlcontrasting-pricing-package-cards/styles.csscontrasting-pricing-package-cards/README.mdA responsive HTML and CSS marquee that combines repeated text phrases with logos, icons, or image separators in a seamless loop, extending Squarespace beyond its built-in scrolling text options.
View files:
text-and-logo-marquee/index.htmltext-and-logo-marquee/styles.csstext-and-logo-marquee/README.mdA reusable JSON-LD snippet that describes an embedded Squarespace video with its title, description, thumbnail, upload date, and embed URL.
View files:
video-object-schema/video-schema.htmlvideo-object-schema/README.mdA reusable JSON-LD snippet that describes a book, its author, publisher, language, genres, and landing page for search engines.
View files:
book-schema/book-schema.htmlbook-schema/README.mdA reusable JSON-LD snippet that identifies visible frequently asked questions and their official answers on a Squarespace page.
View files:
faq-page-schema/faq-schema.htmlfaq-page-schema/README.mdThese snippets are generalized examples based on common Squarespace website layout needs.
Client-specific content, branding, private URLs, icons, images, and project details have been removed or replaced with reusable placeholder content.
Copy the HTML into a Squarespace Code Block and add the CSS to Custom CSS or inside the page-level code area, depending on the project setup.
Always adjust colors, fonts, spacing, links, and content to match the brand and website structure.