Jump to content

CSS Syntax Error

Go to solution Solved by paul2009,

Recommended Posts

Site URL: http://ironsoultrailblazers.com

Hello! I went to upload a new font in the Custom CSS of a 7.1 site today. We have several things already coded on the site and have uploaded custom fonts before without issues.

However, after uploading the font, none of the custom fonts work on the site. I can see the custom fonts when I go to edit the site styles, but after saving, they revert back to the Squarespace default.

I have tried deleting the new font, deleting all the coding, etc. and it still is no longer working.

The CSS is saying I have a "syntax error on line 8" which is our global site colors (we have never had an issue before). When I delete that, it gives me an error on the next line. No matter how much I delete, I continue to have a syntax error unless I delete everything. I have run the entire code through a CSS validator and it continues to come back without error, so I'm not sure if this is a glitch in Squarespace (but they have informed me they can't help with customizations and sent me here).

I've attached the error. Can someone please help?!

Screen Shot 2022-06-22 at 10.10.42 AM.png

Link to comment
  • Replies 3
  • Views 384
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

  • Solution

It is an issue with lines 1 - 3

Delete them or add the correct comment markers by adding "/" as the first character on line 1 and another "/" at the end of line 3 🙂

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

Link to comment

You're welcome. You probably just accidentally deleted that first "/" 

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

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.