Skip to content

Quick set up to customize Squarespace CSS without jumping into developer mode

License

Notifications You must be signed in to change notification settings

xuv/squarespace-css-dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Squarespace CSS Development

This is a little repo to get you started into modifying the Squarespace layouts without jumping into their developer mode.

We are making these assumptions:

  • We are using a default SqSp template
  • We just want to inject some additional CSS to tweak the default template
  • We want to keep track and version our changes
  • And do this using Chrome Dev Tools persistent mode

Howto

  1. Fork this repo in your Github user space and clone it locally
  2. Go to your Squarespace website
  3. Navigate to Settings > Website > Advanced > Code Injection
  4. Add this line: <link rel="stylesheet" type="text/css" href="//< your-github-username >.github.io/squarespace-css-dev/custom.css" /> in the header
  5. Reload your public facing Squarespace website and open Chrome Dev Tools
  6. Look in Sources for a folder named < your-github-username >.github.io
  7. Right click on the < your-github-username >.github.io/squarespace-css-dev subfolder, select Add folder to workspace and point to the location on your disk where you cloned the fork of this repo.
  8. Right click on the < your-github-username >.github.io/squarespace-css-dev/custom.css file, select Map to File System Resource… and point to the custom.css file you have in the local folder selected at the previous step
  9. Edit that custom.css to see changes in the browser

During development, we are going to serve the custom.css file using Github-Pages. So others will be able to review our changes. When satisfied and done, we could just copy-paste the content of it into the "Custom CSS" input form from Squarespace.

About

Quick set up to customize Squarespace CSS without jumping into developer mode

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages