Custom CSS for Impact Template Squarespace

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

Impact Template: An attention-grabbing layout and bold calls to action promote your mission.

impact-squarespace

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: #000 !important;
}
/* Mobile */
a.Mobile-bar-branding {
    color: #000 !important;
}

One Page

/* Desktop */
body#collection-59dbc8046f4ca35190c95826 .Header-branding {
    color: #000 !important;
}
/* Mobile */
body#collection-59dbc8046f4ca35190c95826 a.Mobile-bar-branding {
    color: #000 !important;
}

Disable Site Title Link

Entire Site

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

One Page

/* Desktop */
body#collection-59dbc8046f4ca35190c95826 .Header-branding {
    pointer-events: none;
}
/* Mobile */
body#collection-59dbc8046f4ca35190c95826 a.Mobile-bar-branding {
    pointer-events: none;
}

Remove Site Title

Entire Site

/* Desktop */
.Header-branding {
    display: none;
}
/* Mobile */
a.Mobile-bar-branding {
    display: none;
}

One Page

/* Desktop */
body#collection-59dbc8046f4ca35190c95826 .Header-branding {
    display: none;
}
/* Mobile */
body#collection-59dbc8046f4ca35190c95826 a.Mobile-bar-branding {
    display: none;
}

Navigation Hover Link Color

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

Turn Navigation First Item to Button

.Header-nav--primary .Header-nav-item:first-child {
    background: #ff0000 !important;
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: 10px;
    font-size: 20px;
}

Hide Navigation Items

First Item

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

Second Item

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

Do similar!

Remove Search Icon

.Header-search {
    display: none;
}

Remove Header Navigation

Entire Site

.Header-nav {
    display: none;
}

One Page

body#collection-59e7723d692ebe8b379bc769 .Header-nav {
    display: none;
}

Site Title (Top) – Navigation (Bottom)

.Header-inner.Header-inner--top {
    flex-direction: column;
}

Mobile Navigation Overlay Color

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

Mobile Navigation Overlay Width

.Mobile-overlay {
    width: 70%;
}

Decrease space between Primary & Secondary Navigation (Mobile)

nav.Mobile-overlay-nav.Mobile-overlay-nav--secondary {
    margin-top: -20px;
}

Mobile Navigation Items Color

a.Mobile-overlay-nav-item {
    color: #ff0000 !important;
}

Plus Icon (Left) – Site Title (Right)

.Mobile-bar.Mobile-bar--top {
    flex-direction: row-reverse;
}

Force Mobile Header on Desktop

[data-nc-base="mobile-bar"] {
    display: block;
}
.Header.Header--top {
    display: none !important;
}

Replace Plus Icon with word “Menu”

.Mobile-bar-menu {
    visibility: hidden;
}
.Mobile-bar-menu:after {
    content: "Menu";
    visibility: visible;
    font-size: 20px;
    color: #ff0000;
    font-family: sofia-pro;
}

Replace Plus icon with “Menu” Button

.Mobile-bar-menu:after {
    border-radius: 20px;
    content: "Menu";
    visibility: visible;
    font-size: 20px;
    color: #fff;
    font-family: sofia-pro;
    background: #000;
    padding: 10px 20px;
}
.Mobile-bar-menu {
    visibility: hidden;
}

Add word “Menu” beside Plus Icon

.Mobile-bar-menu:after {
    content: "Menu";
    visibility: visible;
    font-size: 20px;
    color: #ff0000;
    font-family: sofia-pro;
    position: absolute;
    right: 50px;
    top: 30px;
}

Replace Plus Icon with Custom Image/Icon

.Mobile-bar-menu:after {
    content: "";
    background-image: url(https://image.flaticon.com/icons/svg/2006/2006291.svg);
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    width: 50px;
    height: 50px;
}
.Mobile-bar-menu {
    visibility: hidden;
}

Header Background Color

Entire Site

/* Desktop */
header.Header.Header--top {
    background: #f1f2f3;
}
/* Mobile */
.Mobile-bar.Mobile-bar--top {
    background: #f1f2f3;
}

One Page

/* Desktop */
body#collection-59e7723d692ebe8b379bc769 header.Header.Header--top {
    background: #f1f2f3;
}
/* Mobile */
body#collection-59e7723d692ebe8b379bc769 .Mobile-bar.Mobile-bar--top {
    background: #f1f2f3;
}

Header Background Image

Entire Site

header.Header.Header--top {
    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-59e7723d692ebe8b379bc769 header.Header.Header--top {
    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;
}

Fixed Header

@media screen and (min-width:641px) {
/* Desktop */
header.Header.Header--top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}
/* Remove Overlap Content */
.Site-inner {
    margin-top: 50px !important;
}}

Remove Header

Entire Site

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

One Page

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

Footer

Footer Background Color

Entire Site

footer.Footer {
    background: #f1f2f3;
}

One Page

body#collection-59e7723d692ebe8b379bc769 footer.Footer {
    background: #f1f2f3;
}

Remove Footer

Entire Site

.tweak-footer-show .Footer {
    display: none !important;
}

One Page

body#collection-59e7723d692ebe8b379bc769 .tweak-footer-show .Footer {
    display: none !important;
}

Remove Footer Link Underline

.Footer a {
    border-bottom: none !important;
}

Other

Page Background Color

Entire Site

.Main {
    background: #f1f2f3;
}

One Page

body#collection-59dbc8046f4ca35190c95826 .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-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

One Page

body#collection-59dbc8046f4ca35190c95826 .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;
}

Featured Image: Squarespace.com

Share this post:

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

Leave a Comment