Custom CSS for Tremont Template Squarespace

Tremont Template: This website template uses full-screen imagery and dynamic overlay effects to promote and sell your tempting delicacies.

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

span.site-title {
    color: #ff0000;
}

One Page

body#collection-5755d37f45bf21034e502e9e span.site-title {
    color: #ff0000;
}

Disable Site Title Link

.site-branding .site-title {
    pointer-events: none;
}

Remove Site Title

Entire Site

.site-branding .site-title {
    display: none;
}

One Page

body#collection-5755d37f45bf21034e502e9e .site-branding .site-title {
    display: none;
}

Site Title (Right) – Navigation (Left)

/* Desktop */
@media screen and (min-width:641px) {
header#siteHeader {
    flex-direction: row-reverse;
    justify-content: space-between;
}
.nav-social-wrapper {
    flex-grow: 1 !important;
}
}

Navigation Hover Color

.nav-item a:hover {
    color: #000 !important;
}

Hide Item in Navigation

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

Replace 5 with item number

Remove Navigation

Entire Site

nav#mainNavigation {
    display: none;
}

One Page

body#collection-5755d37f45bf21034e502e9e nav#mainNavigation {
    display: none;
}

Replace Hamburger Icon with word “Menu”

a#navToggle {
    visibility: hidden;
}
a#navToggle:after {
    content: "Menu";
    color: #fff;
    font-size: 15px;
    visibility: visible;
    position: absolute;
    right: 0;
    top: -10px;
    font-family: ambroise-std;
}

Site Title (Right) – Hamburger Icon (Left)

@media screen and (max-width:640px) {
header#siteHeader {
    flex-direction: row-reverse;
}
}

Navigation Overlay Color

.overlay-nav-wrapper {
    background: #f1f2f3;
}

Navigation Overlay Width

.overlay-nav-wrapper {
    width: 50%;
}

Align Navigation Overlay Item

.main-navigation--overlay>div {
    text-align: left !important;
    padding-left: 10px !important;
}

Decrease Padding top Navigation Overlay Item

.overlay-nav-wrapper {
    height: 60vh;
}

Replace Hamburger Icon with Custom Icon

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

Underline Navigation Link when Hovering

.nav-item:hover {
    text-decoration: underline;
}

Change Color of X icon

svg.Icon.Icon--close.nav-toggle-label-icon {
    stroke: #ff0000 !important;
}

Footer

Footer Background Color

Entire Site

footer.site-footer {
    background: #f1f2f3;
}

One Page

body#collection-5755d37f45bf21034e502e9e footer.site-footer {
    background: #f1f2f3;
}

Footer Background Image

Entire Site

footer.site-footer {
    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-5755d37f45bf21034e502e9e footer.site-footer {
    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;
}

Remove Footer

Entire Site

footer.site-footer {
    display: none !important;
}

One Page

body#collection-5755d37f45bf21034e502e9e footer.site-footer {
    display: none !important;
}

Other

Page Background Color

Entire Site

.main-content {
    background: #f1f2f3;
}

One Page

body#collection-5755d37f45bf21034e502e9e .main-content {
    background: #f1f2f3;
}

Page Background Image

Entire Site

.main-content {
    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-5755d37f45bf21034e502e9e .main-content {
    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