Custom CSS for Clay Template Squarespace

This template is in Brine Family, so you can use many other CSS here.

Clay Template: Spotlight your classes and products with this website template’s eye-catching, interactive storefront.

Notes

1. Adding Custom CSS to Home > Design > Custom CSS

2. Adding !important to after, if CSS doesn’t work! for example: font-size: 20px !important;

3. If it still doesn’t work, send me a message via Contact Form  with your site url. I’ll give you exact CSS..

4. How to find Page ID: https://beaverhero.com/squarespace-how-to/

body#collection-56d86c682b8dde72910d59bd is Page ID. Each page will have different ID

Header

Site Title Color

Entire Site

/* Desktop */
.Header-branding {
    color: #ff0000 !important;
}
/* Mobile */
a.Mobile-bar-branding {
    color: #ff0000 !important;
}

One Page

/* Desktop */
body#collection-58b5ed10bf629a356f09728a .Header-branding {
    color: #ff0000 !important;
}
/* Mobile */
body#collection-58b5ed10bf629a356f09728a a.Mobile-bar-branding {
    color: #ff0000 !important;
}

Remove Site Title

Entire Site

.Header-branding {
    visibility: hidden;
}
a.Mobile-bar-branding {
    visibility: hidden;
}

One Page

body#collection-58b5ed10bf629a356f09728a .Header-branding {
    visibility: hidden;
}
body#collection-58b5ed10bf629a356f09728a a.Mobile-bar-branding {
    visibility: hidden;
}

Navigation Hover Color

Entire Site

.Header-nav-item:hover {
    color: #ff0000 !important;
}

One Page

body#collection-560d9d7ae4b079ff1a2e6eaa .Header-nav-item:hover {
    color: #ff0000 !important;
}

Navigation Background Color

Entire Site

.Header-nav {
    background: #000;
}

One Page

body#collection-560d9d7ae4b079ff1a2e6eaa .Header-nav {
    background: #000;
}

Remove Navigation

Entire Site

.Header-nav {
    display: none;
}

One Page

body#collection-58b5ed10bf629a356f09728a .Header-nav {
    display: none;
}

Replace Cart Text with Custom Icon

span.Cart-label {
    visibility: hidden;
}
span.Cart-label:after {
    visibility: visible;
    content: "";
    background-image: url(https://image.flaticon.com/icons/svg/1279/1279537.svg);
    background-size: contain;
    background-position: center center;
    width: 20px;
    height: 20px;
    display: inline-block;
}

Header Background Color

Entire Site

.Header.Header--top {
    background: #f1f2f3;
}
.Mobile-bar {
    background: #f1f2f3;
}

One Page

body#item-58a214273e00bea4494186a7 .Header.Header--top {
    background: #f1f2f3;
}
body#item-58a214273e00bea4494186a7 .Mobile-bar {
    background: #f1f2f3;
}

Remove Header

Entire Site

.Mobile-bar {
    display: none;
}
.Header.Header--bottom {
    display: none !important;
}

One Page

body#item-58a214273e00bea4494186a7 .Mobile-bar {
    display: none;
}
body#item-58a214273e00bea4494186a7 .Header.Header--bottom {
    display: none !important;
}

Sticky Header

Entire Site

header.Header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

One Page

body#collection-561e7098e4b0c12681384dcd header.Header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

Change Hamburger Icon

button.Mobile-bar-menu svg {
    stroke: #ff0000;
}

Replace Hamburger Icon with Custom Icon

button.Mobile-bar-menu {
    visibility: hidden;
}
button.Mobile-bar-menu:after {
    visibility: visible;
    content: "";
    background-image: url(https://image.flaticon.com/icons/svg/1279/1279537.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    width: 30px;
    height: 30px;
    display: block;
}

Replace Hamburger Icon with word “Menu”

button.Mobile-bar-menu {
    visibility: hidden;
}
button.Mobile-bar-menu:after {
    visibility: visible;
    content: "Menu";
    font-family: proxima-nova;
    color: #000;
    font-size: 20px;
}

Add word “Menu” beside Hamburger Icon

button.Mobile-bar-menu:before {
    content: "Menu";
    font-size: 20px;
    color: #000;
    position: absolute;
    right: 50px;
    top: 25px;
}

Overlay Navigation Color

Entire Site

.Mobile-overlay-menu {
    background: #f1f2f3;
}
.Mobile-overlay {
    background: #f1f2f3 !important;
}
button.Mobile-overlay-close {
    background: #f1f2f3 !important;
}

One Page

body#collection-560d9d7ae4b079ff1a2e6eaa .Mobile-overlay-menu {
    background: #f1f2f3;
}
body#collection-560d9d7ae4b079ff1a2e6eaa .Mobile-overlay {
    background: #f1f2f3 !important;
}
body#collection-560d9d7ae4b079ff1a2e6eaa button.Mobile-overlay-close {
    background: #f1f2f3 !important;
}

Overlay Navigation Width

.Mobile-overlay {
    width: 70%;
}

Overlay Navigation Font Size

a.Mobile-overlay-nav-item {
    font-size: 17px !important;
}

Align Overlay Navigation Items

.Mobile-overlay-nav-item {
    text-align: right;
}

Footer

Footer Background Color

Entire Site

footer.Footer {
    background: #000;
}

One Page

body#collection-58b5ed10bf629a356f09728a footer.Footer {
    background: #000;
}

Footer Background Image

Entire Site

footer.Footer {
    background-image: url(https://beaverhero.com/wp-content/uploads/2019/07/coffee-beans-1082116_640-min.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

One Page

body#collection-58b5ed10bf629a356f09728a footer.Footer {
    background-image: url(https://beaverhero.com/wp-content/uploads/2019/07/coffee-beans-1082116_640-min.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

Remove Footer

Entire Site

footer.Footer {
    display: none !important;
}

One Page

body#collection-58b5ed10bf629a356f09728a footer.Footer {
    display: none !important;
}

Blog

Align Center Post Title

.BlogList-item-title {
    text-align: center !important;
}

Remove Post Share

.BlogItem-share {
    display: none;
}

Remove Post Pagination (Next/Previous)

.BlogItem-pagination-link-content {
    display: none;
}

Shop

Align Center Product Name/Price

.ProductList-meta {
    text-align: center !important;
}

Change Product Price Color

.product-price {
    color: #ff0000 !important;
}

Increase Product Detail Width

All Products

@media screen and (min-width:641px) {
/* Detail */
section.ProductItem-details {
    width: 50%;
}
/* Gallery */
figure.ProductItem-gallery {
    width: 39%;
}

One Product

@media screen and (min-width:641px) {
/* Detail */
body#item-560474e9e4b0d59ead06bb7c section.ProductItem-details {
    width: 50%;
}
/* Gallery */
body#item-560474e9e4b0d59ead06bb7c figure.ProductItem-gallery {
    width: 39%;
}

Remove Product Share

.ProductItem-details-share {
    display: none !important;
}

Remove Add to Cart

All Products

.sqs-add-to-cart-button-wrapper {
    display: none !important;
}

One Product

body#item-560db7c8e4b074d417cfd8a8 .sqs-add-to-cart-button-wrapper {
    display: none !important;
}

Remove Product Thumbnails (Small images)

.ProductItem-gallery-thumbnails {
    display: none;
}

Change Quick View Color

span.sqs-product-quick-view-button {
    background: #f1f2f3 !important;
    color: #000 !important;
    font-size: 20px;
    border-radius: 50px;
    border: 1px solid #ff0000 !important;
    padding: 5px 10px !important;
}

Change Sale Color

.product-mark.sale {
    background: #000;
    color: #f1f2f5;
    font-size: 20px;
    text-transform: lowercase;
    padding: 20px 30px !important;
    border-radius: 20px;
}

Change Sold Out Color

.product-mark.sold-out {
    background: #000;
    color: #f1f2f5;
    font-size: 20px;
    text-transform: lowercase;
    padding: 20px 30px !important;
    border-radius: 20px;
}

Rename Quick View Text

span.sqs-product-quick-view-button {
    visibility: hidden;
}
span.sqs-product-quick-view-button:after {
    content: "View Quick";
    visibility: visible;
    color: #000;
    background: #f1f2f3;
    padding: 20px 40px;
    border-radius: 50px;
}

Rename Sale Text

.product-mark.sale {
    visibility: hidden;
}
.product-mark.sale:after {
    visibility: visible;
    content: "Sale OOff";
    color: #000;
    background: #ff0000;
    padding: 20px 40px;
    border-radius: 30px;
    font-size: 10px;
}

Rename Sold Out Text

.product-mark.sold-out {
    visibility: hidden;
}
.product-mark.sold-out:after {
    visibility: visible;
    content: "Sale OOff";
    color: #000;
    background: #ff0000;
    padding: 20px 40px;
    border-radius: 30px;
    font-size: 10px;
}

Other

Page Background Color

Entire Site

.Main {
    background: #f1f2f3;
}

One Page

body#item-561c3a39e4b04674fb2ec8e7 .Main {
    background: #f1f2f3;
}

Page Background Image

Entire Site

.Main {
    background-image: url(https://beaverhero.com/wp-content/uploads/2019/07/coffee-beans-1082116_640-min.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

One Page

body#item-561c3a39e4b04674fb2ec8e7 .Main {
    background-image: url(https://beaverhero.com/wp-content/uploads/2019/07/coffee-beans-1082116_640-min.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

Featured Image: Squarespace.com

Share this post:

Start learning HTML/CSS basic to style your Squarespace Site.

Leave a Comment