Jump to content

Code displays + lag time when loading pages

Recommended Posts

My website always lags when it loads and displays some of the code at the top for like 2 seconds. 

I've attached a screenshot I managed to grab on my phone, but you will probably see it when it loads if you click on it.

How do i get the pages to load quickly without displaying this code? 



Link to comment
  • Replies 1
  • Views 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

6 hours ago, rarajuju said:

How do i get the pages to load quickly without displaying this code? 

That code is showing because you have plain text written into the Header Code Injection, either globally or on just this page.

For this style code, you need to wrap the text in style tags like this:

<style>  YOUR CODE GOES HERE </style>

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.