Skip to content

Instantly share code, notes, and snippets.

@ryandejaegher
Last active March 30, 2020 11:52
Show Gist options
  • Select an option

  • Save ryandejaegher/14934d7600cb139c112f40b7a57e2bd2 to your computer and use it in GitHub Desktop.

Select an option

Save ryandejaegher/14934d7600cb139c112f40b7a57e2bd2 to your computer and use it in GitHub Desktop.
This code is used to customize the coming soon page for Squarespace, you must add it to the code injection in page settings instead of the site code injection
<script>
(function(){
var comingSoonText = document.querySelector('#sqs-slash-page-header');
comingSoonText.innerHTML = `coming <span class="really">(really)</span> soon`;
}());
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment