Jump to content

CSS 'missing opening '{' for Parallax

Go to solution Solved by tuanphan,

Recommended Posts

Hi everyone, 

I'm trying this Parallax effect for my personal website. I found this code on an youtube channel : here it's the link. I'm a beginner in Squarespace, so I try again and again ; 0 result with this message 'missing opening '{' .

Can you help me, please? What's wrong?

Thanks a lot in advance ! 

Capture d’écran 2022-04-11 à 16.30.29.png

Capture d’écran 2022-04-11 à 16.30.44.png

Capture d’écran 2022-04-11 à 16.30.58.png

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • Solution

Hi,

It is JavaScript code. Not CSS code.

Custom CSS Box is for CSS code only

You need to add JavaScript code to Home > Settings > Advanced > Code Injection > Header or Footer

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.