Buy me a coffee

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

  • Adding Custom CSS to Home > Design > Custom CSS
  • With One page. Add code to Page Settings > Advanced > Header
  • Adding !important to after, if CSS doesn’t work! for example: font-size: 20px !important;
  • Send me a message if you have any questions/the code doesn’t work (free).
  • You can send a donation if this is helpful for you 😉

Header

Site Title Color

Entire Site

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

One Page

<style>
/* Desktop */
.Header-branding {
    color: #000 !important;
}
/* Mobile */
a.Mobile-bar-branding {
    color: #000 !important;
}
</style>

Disable Site Title Link

Entire Site

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

One Page

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

Remove Site Title

Entire Site

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

One Page

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

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

<style>
.Header-nav {
    display: none;
}
</style>

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

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

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

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

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

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

Footer

Footer Background Color

Entire Site

footer.Footer {
    background: #f1f2f3;
}

One Page

<style>
footer.Footer {
    background: #f1f2f3;
}
</style>

Remove Footer

Entire Site

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

One Page

<style>
.tweak-footer-show .Footer {
    display: none !important;
}
</style>

Remove Footer Link Underline

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

Other

Page Background Color

Entire Site

.Main {
    background: #f1f2f3;
}

One Page

<style>
.Main {
    background: #f1f2f3;
}
</style>

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

<style>
.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;
}
</style>

Featured 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