Buy me a coffee

Custom CSS for PEDRO Template Squarespace

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

PEDRO Template: Lavish video backgrounds and images encourage visitors to explore your products.

Notes

  • Adding Custom CSS to Home > Design > Custom CSS
  • Adding !important to after, if CSS doesn’t work! for example: font-size: 20px !important;
  • With One page. Add to Page Settings > Advanced > Header (If you use Personal Plan > Edit Page > Add Code Block > Add code)
  • 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

Hide Site Title (One Page & Entire Site)

/* Entire Site */
.Header-branding {
    display: none;
}
/* One Page */
<style>
.Header-branding {
    display: none;
}
</style>

Hide Header Navigation (Entire Site & One Page)

/* Entire Site */
.Header-nav {
    display: none;
}
/* One Page */
<style>
.Header-nav {
    display: none;
}
</style>

Hide Cart Icon

/* Entire Site */
.Header .Cart {
    display: none;
}
/* Show Cart icon on Shop - Product Page */
.collection-type-products .Header .Cart {
    display: block;
}

Change Site Title Color

/* Entire Site */
.Header-branding {
    color: #ff0000 !important;
}
/* One Page */
<style>
.Header-branding {
    color: #ff0000 !important;
}
</style>

Hide Header (Entire Site & One Page)

/* Entire Site */
.Header {
    display: none !important;
}
/* One Page */
<style>
.Header {
    display: none !important;
}
</style>

Site Title (Top) – Navigation (Bottom)

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

Site Title (Bottom) – Navigation (Top)

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

Sticky Header

/* Desktop */
.Header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}
/* Mobile */
.Mobile.loaded {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

Remove My Account Icon

.Header-account.loaded {
    display: none;
}

Navigation Dropdown Color (Desktop)

span.Header-nav-folder {
    background-color: #ff0000 !important;
}

Navigation Overlay Color (Mobile)

.Mobile-overlay-menu {
    background-color: #ff0000;
}

Footer

Footer Background Color

Entire Site

.Footer {
    background-color: #ff0000;
}

One Page

<style>
.Footer {
    background-color: #ff0000;
}
</style>

Shop – Product Page

Price Color

.ProductList .product-price {
    color: #fff;
}

Decrease padding between image & title (Shop Page)

.ProductList h1.ProductList-title {
    margin-top: 5px;
}

Align Center Title & Price (Shop Page)

section.ProductList-overlay {
    text-align: center;
}

Increase Product Detail Width

@media screen and (min-width:641px) {
/* Tablet & Desktop */
/* Product Detalis Width */
.ProductItem-details {
    width: 70%;
}
/* Gallery */
.ProductItem-gallery {
    width: 30%;
}
}

Change Add to Cart Style

.sqs-add-to-cart-button {
    background: #fff !important;
    border-color: #fff !important;
    color: #000 !important;
    border-radius: 50px;
    padding: 10px 20px !important;
    font-size: 50px !important;
}

Remove Add to Cart

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

Remove Quantity Input

.product-quantity-input {
    display: none !important;
}

Remove Product Social Share

.ProductItem-details-share {
    display: none !important;
}

Remove Product Thumbnail images

.ProductItem-gallery-thumbnails {
    display: none;
}

Blog Page

Remove Published Date

time.Blog-meta-item.Blog-meta-item--date {
    display: none;
}

Remove Featured Image

.BlogList--posts-excerpt .BlogList-item-image {
    display: none;
}

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