CSS Basics For Squarespace
CSS Basics For Squarespace
CO PRESENTS
What is CSS?
CSS stands for “cascading style sheet” and it’s a computer
language you can use to make your Squarespace website
look unique. You can use CSS to change button colors, image
sizes, page layouts, add fancy fonts, and even do advanced
things like hover effects.
Why do Squarespacer's
use custom CSS?
Squarespace has one main design menu that lets you do a LOT of
things, but for some people, it's just not enough! That's why they
created a special place in your design menu where you can add
Custom CSS to your website, letting you make as many design
changes as you want. CSS is how Squarespacer's turn basic
templates into beautiful custom creations of their very own.
This is called a selector. Some selectors are based on HTML but many are unique
for the website platform, including selectors for Squarespace.
But these days? I'm the go-to-gal for all things CSS for
Squarespace. If I can figure this out on my own, I know you can
definitely get the hang of it with my help!
SITE-WIDE CSS
Available for business and commerce plans, you can add custom CSS
to the header of an individual page or collection. This is great for making
changes that only need to happen on those pages, like customizing a
specific section or specific item. You can have multiple types of code
here, so you need to tell the browser that your code is CSS by placing it
between two style brackets like this: <style> css code </style>
.header-actions .btn:hover {
background-color: red!important
}
header, #footer-sections {
display:none!important
}
.item-pagination-link{
display: none
}
Double check that your code to make sure you don't have any extra spaced,
dashes, or dots, and that you are using {curly brackets} where you need to, and not
(parentheses) or [square brackets]
Make sure you use semi colons ; colons : and commas, in the right places.
Here is an article with more info on symbols used in CSS:
insidethesquare.co/resources/css-symbols
If it's still there, you need to use a different selector. If it does disappear, try adding
!important after the value in your code to make sure the computer sees it! Here is
an example for a button background color:
.sqs-block-button-element {background-color: #50bdb8!important}
I'll be back in your inbox soon with some tips and tricks to help you make
your Squaresapce website even more awesome. If you're already ready
to rock more custom code concepts, then I'd recommend getting my
Squarespace CSS cheat sheet right now!
All my best,
Becca Harpain
hello@insidethesquare.co
insidethesquare.co