Custom CSS for Aviator Template Squarespace

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

Aviator Template: Use this website template’s centralized info card and full-bleed background images to tell customers everything they need to know in a glance.

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

.site-title a {
    color: #000 !important;
}

One Page

body#collection-56cb6c3ae707ebc39cec20ab .site-title a {
    color: #000 !important;
}

Site Title Size

Desktop

@media screen and (min-width:641px) {
.site-title a {
    font-size: 20px;
}
}

Mobile

@media screen and (max-width:640px) {
.site-title a {
    font-size: 20px;
}
}

One Page

body#collection-56cb6c3ae707ebc39cec20ab .site-title a {
    font-size: 20px;
}

Remove Site Title

Entire Site

.site-title a {
    display: none !important;
}

One Page

body#collection-56cb6c3ae707ebc39cec20ab .site-title a {
    display: none !important;
}

Logo above Site Title

Entire Site

.site-title a:before {
    content: "";
    background-image: url(https://image.flaticon.com/icons/svg/1279/1279537.svg);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    display: block;
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

One Page

body#collection-56cb76ed8a65e24ba86eba1d .site-title a:before {
    content: "";
    background-image: url(https://image.flaticon.com/icons/svg/1279/1279537.svg);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    display: block;
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

 

Change Padding between Site Title & Navigation

#title-area {
    padding-top: 0;
}
div#innerWrapper {
    margin-top: 0;
}

 

Navigation Hover Color

#main-navigation ul li a:hover {
    color: #ff0000;
}

Navigation Items Bold

#main-navigation ul li a {
    font-weight: bold;
}

Remove Navigation

Entire Site

nav#main-navigation {
    display: none;
}
nav#mobile-navigation {
    display: none;
}

One Page

body#collection-56cb6c3ae707ebc39cec20ab nav#main-navigation {
    display: none;
}
body#collection-56cb6c3ae707ebc39cec20ab nav#mobile-navigation {
    display: none;
}

Navigation Background Color

Entire Site

nav#main-navigation {
    background: #ff0000;
}

One Page

body#collection-56cb6c3ae707ebc39cec20ab nav#main-navigation {
    background: #ff0000;
}

Navigation Background (Extend to top and either side)

Entire Site

nav#main-navigation {
    top: -10px !important;
    background: #f1f2f3;
    width: 100% !important;
}

One Page

body#item-56ccb0fa2fe1316026b8bfd4 nav#main-navigation {
    top: -10px !important;
    background: #f1f2f3;
    width: 100% !important;
}

 

Mobile Menu Background Color

Entire Site

nav#mobile-navigation {
    background: #fff;
}

One Page

body#collection-56cb6c3ae707ebc39cec20ab nav#mobile-navigation {
    background: #fff;
}

Change word “Menu”

#mobile-navigation-label:after {
    content: "New Menu" !important;
    font-size: 20px;
    color: #fff;
}

Align Navigation Items (Mobile)

#mobile-navigation.sqs-mobile-nav-open ul li {
    text-align: left;
    padding-left: 20px;
}

News

Remove Post Date

Blog List Page

.view-list .author-date {
    display: none;
}

Single Post Page

.view-item .author-date {
    display: none;
}

Disable Post Date Link

.view-list .author-date a {
    pointer-events: none;
}

Remove Post Social Icon

.comment-share-like {
    display: none;
}
.counts {
    display: none;
}

Align Left Post Title

Blog List Page

.view-list article h1 {
    text-align: left;
}

Single Post

.view-item article h1 {
    text-align: left;
}

Decrease Space between Post Title & Site Title

All Posts

.collection-type-blog #innerWrapper #content {
    padding-top: 0;
}

One Post

body#item-56ccb0fa2fe1316026b8bfd4 #innerWrapper #content {
    padding-top: 0;
}

Other

Page Background Color

All Pages

div#outerWrapper {
    background: #f1f2f3;
}

One Page

body#item-56ccb0fa2fe1316026b8bfd4 div#outerWrapper {
    background: #f1f2f3;
}

Page Background Image

All Pages

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

One Page

body#collection-56cb6c3ae707ebc39cec20ab div#outerWrapper {
    background-image: url(https://beaverhero.com/wp-content/uploads/2019/07/coffee-beans-1082116_640-min.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

Change Links Color

Entire Site

a {
   color: #000 !important;
}

One Page

body#item-56ccb0fa2fe1316026b8bfd4 a {
   color: #000 !important;
}

Remove Underline on Footer Hyperlink

footer#footer a {
    text-decoration: none;
    border-bottom: none !important;
}

Remove Footer

Entire Site

footer#footer {
    display: none;
}

One Page

body#collection-56cb6c3ae707ebc39cec20ab footer#footer {
    display: none;
}

Reduce Padding between Title & Body

Entire Site

section#content {
    padding-top: 0 !important;
}
div#title-area {
    padding-bottom: 0;
}

One Page

body#collection-56cb6c3ae707ebc39cec20ab section#content {
    padding-top: 0 !important;
}
body#collection-56cb6c3ae707ebc39cec20ab div#title-area {
    padding-bottom: 0;
}

 

Featured Image: Squarespace.com

Share this post:

2 thoughts on “Custom CSS for Aviator Template Squarespace”

  1. This is SO helpful, thank you so much for putting this together and making it public. One question — On mobile navigation, I’m trying to change the the word, “Menu” to the three bar sandwich style menu. Do you have a code for that?

    Reply

Leave a Comment