Tidy Up Your HTML, CSS and Javascript

It is always important to maintain tidy code in any project. Squarespace has a hidden shortcut to cleanup any HTML, CSS and Javascript. This shortcut applies to Custom CSS window, Code Injection as well as any Code Block in the site.

Step 1.

Go to any area where you have code to clean up. Select All, then hold Shift, then press Tab. Your code should now look much more readable. Here is a quick before and after.

Brad Good

Brad Good has been an endorsed Squarespace Expert since the beginning and has been working on the platform since 2008. He has helped hundreds of Squarespace customers with their websites.

http://www.bradgood.net
Previous
Previous

How Much Should You Invest in Your Reopening Marketing Plan?

Next
Next

How To Grow A Business Using Modern Marketing Practices