Buy me a coffee

Custom CSS for Fairfield Template Squarespace

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

Fairfield Template: Get your business fully-booked with irresistible full-width background videos.

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;
}

Disable Site Title Link

a.Mobile-bar-branding {
    pointer-events: none;
}
.Header-branding {
    pointer-events: none;
}

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

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

Strike Navigation Hover Item

.Header-nav-item:hover {
    text-decoration: line-through;
}

Hide Navigation Item

First Item

.Header-nav-item:nth-child(1) {
    display: none;
}

Second Item

.Header-nav-item:nth-child(1) {
    display: none;
}

Do similar!

Turn last Navigation item to Button

.Header-nav-item:last-child {
    background: #fff;
    color: #000 !important;
    padding: 5px 10px !important;
    border-radius: 50px;
    font-size: 15px;
}

Remove Navigation

Entire Site

.Header-nav {
    display: none;
}

One Page

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

Remove Cart Item (Homepage)

.homepage .Cart {
    display: none;
}

Remove Hamburger Icon

button.Mobile-bar-menu {
    display: none;
}

Replace Hamburger Icon with Custom Image/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;
}

Navigation Overlay Background Color

.Mobile-overlay-menu {
    background: #f1f2f3;
}

Navigation Overlay Width

.Mobile-overlay-menu {
    width: 50%;
}

Change Hamburger Icon Color

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

Change “X” close icon color

.Mobile-overlay-close svg {
    stroke: #000;
}

Header Background Color

Entire Site

/* Desktop */
header.Header {
    background: #000 !important;
}
/* Mobile */
.Mobile-bar--top {
    background: #fff;
}

One Page

/* Desktop */
body#collection-5923022e29687f3333da8963 header.Header {
    background: #000 !important;
}
/* Mobile */
body#collection-5923022e29687f3333da8963 .Mobile-bar--top {
    background: #fff;
}

Remove Header

Entire Site

/* Desktop */
header.Header {
    display: none !important;
}
/* Mobile */
.Mobile-bar--top {
    display: none !important;
}

One Page

/* Desktop */
body#collection-5923022e29687f3333da8963 header.Header {
    display: none !important;
}
/* Mobile */
body#collection-5923022e29687f3333da8963 .Mobile-bar--top {
    display: none !important;
}

Replace Cart with Cart 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-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    width: 30px;
    height: 30px;
    display: inline-block;
}

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;
}

Shop Page – Product Page

Remove Product Title

h1.ProductList-title {
    display: none;
}

Remove Product Price

.product-price {
    display: none;
}

Align Left Product Title/Price (Shop Page)

.tweak-product-list-meta-alignment-under-center .ProductList-meta {
    text-align: left;
}

Remove word “Description” (Product)

.ProductItem-details-excerpt h3:first-child {
    display: none;
}

Add to Cart Button Color

.sqs-add-to-cart-button {
    background: #f1f2f3 !important;
    border-color: #f1f2f3 !important;
    border-radius: 10px;
}
.sqs-add-to-cart-button-inner {
    color: #ff0000;
    font-size: 20px;
}

Remove Add to Cart Button

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

Other

Page Background Color

Entire Site

.Main {
    background: #000;
}

One Page

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

Page Background Image

Entire Site

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

One Page

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

Feature Image: Squarespace.com

Leave a Comment

Ask me a question, free

If your site is private or in trial, just setup password and share url. See how to: https://beaverhero.com/squarespace-how-to/
Please check your email carefully. Recently I got a lot of questions with wrong emails.

If you haven't heard from me within 24 hours please check your junk/spam folder