Jump to content

Colours flashing behind page as it's loading

Go to solution Solved by tuanphan,

Recommended Posts

  • Replies 3
  • Views 1.5k
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution

It looks like it is Site Background Color

You can edit section theme. Changing this option

image.png.91c25f574c41b1cc53913906f939fcec.png

If it doesn't work, you can use this code to Website Tools (under Not Linked) > Custom CSS

:root {
	--siteBackgroundColor: white;
}
body#collection-6501866add04c95b9d949176 {
    background-color: white !important;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 2 weeks later...

Hi @tuanphan thanks for the code above. I've tried to implement this fix. First I checked and the site  wide background colour was already set to white and when I attempted to put in the code to the custom CSS it came back with a syntax error on the second row (below) and wouldn't accept the code.

Do you have any idea why this might be? Thanks Niki

	--siteBackgroundColor: white;
Link to comment
16 hours ago, NikiHutchison said:

Hi @tuanphan thanks for the code above. I've tried to implement this fix. First I checked and the site  wide background colour was already set to white and when I attempted to put in the code to the custom CSS it came back with a syntax error on the second row (below) and wouldn't accept the code.

Do you have any idea why this might be? Thanks Niki

	--siteBackgroundColor: white;

Try this new code instead, no need first code

body#collection-6501866add04c95b9d949176 {
    background-color: white !important;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.