Not all functions or styles on your Squarespace website are available. There are likely going to be at least one or two times when you will want to add some custom CSS to your website to make it more aligned with your specific needs.
However, when you make a switch to your Squarespace template, you will notice that any Custom CSS has disappeared from your website. Why does this happen and what can be done to fix the issue? Here are the answers to those questions.
Why Does Custom CSS Disappear After Switching Squarespace Templates?
The Custom CSS doesn’t technically disappear when you’re switching the template, it is just assigned to the template and not the website. Therefore, when you’re making the switch from one template to another, the new template can’t access that Custom CSS. So it appears as if you’re missing the CSS that you added.
However, in truth, the Custom CSS is still there, just hidden with the old template. You can’t access it or use it unless you switch back to the old template on your website.
Can I Use the Custom CSS on my New Template?
Yes, you’re able to use the Custom CSS on your new template. This is rather easy to do because all you need to do is to reenter the CSS into the new template and then you’ve got access to the functions/features again. It is as simple as that.
And if you decide at any time that you don’t like the new template, when you switch back to the old template, the custom CSS will still be there.
The same is said of numerous elements on a Squarespace website. Any header, footer or style changes that you made are attached to the template and not the website. When you make a change in the template, those elements are hidden on the old template. You would need to change your current template’s settings to get those back as well.
What if I Uninstall my Old Template?
If you’ve uninstalled your old template then you run the risk that your custom CSS changes will disappear too. If you ever wish to reinstall the template, you will find that the default settings are activated and the custom changes that you made are gone.
Therefore, it is always advisable that you only uninstall a template from your Squarespace website if you know that there is no chance that you will wish to use it again in the future.
Final Word: Custom CSS Disappear After Switching Squarespace Templates – Why?
Custom CSS is a useful tool for adding features and changing designs on your Squarespace website. However, they’re attached to the template and not to the main website files. Therefore, when you switch the templates on your Squarespace website, you will discover that the Custom CSS will disappear. Switching back to the old template will reinstate the old Custom CSS unless you uninstalled the old template.