Sticky Product Category Sidebar + Styles
Description
Keep the product category sidebar in place when scrolling. This plugin uses css editor and works with Squarespace 7.1.
How To Install
From your Squarespace account, go to the Custom CSS Editor. Copy and paste the code below into the Custom CSS Editor box.
// Sticky Product Cagetory Sidebar // .products.collection-content-wrapper .nested-category-tree-wrapper { position: -webkit-sticky; position: sticky; top: 60px; z-index: 9999; } // Product Cagetory Sidebar Style // .products.collection-content-wrapper .nested-category-tree-wrapper { background: #fff; border: 1px solid #fff; border-radius: 10px; padding: 30px; text-align: center; font-size: 14px; }
Customize
Within the sticky code, adjust the top px value to increase or decrease the amount of space above the product category sidebar when scrolling.
To style the category sidebar adjust the background, color, border, border radius, padding, and font size values to your liking.
The category sidebar can be enabled in the product page settings.