Jump to content

Why can´t I edit my pages after implementing the Cookie pro script into my header?

Recommended Posts

Site URL: https://www.francoise-wattre.com/

Hello, I have a problem with editing my website after implementing the cookie banner from Cooke pro. I live in Germany so unfortunately I can´t go with the Squarespace cookie banner. Does anyone knows how to solve this problem ? As you can see I see the cookie banner and the page I would love to edit is

darker and I can´t click on anything to edit . The only way to edit is to delete the script in the header section - so I have no cookie banner then. I asked in the Squarespace chat and got the answer that it´s because of the script. The script was generated by Cookie pro and I just copied it and implemented it. Any ideas ? Thank you so much : )

Bildschirmfoto 2020-08-05 um 15.02.48.png

Link to comment
  • Replies 11
  • Views 833
  • Created
  • Last Reply

Add to Home > design > Custom CSS

/* Hide Cookie banner in Edit Mode only */
body.sqs-edit-mode div#onetrust-consent-sdk {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

This code will hide Cookie banner in EDIT MODE ONLY.

 

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
15 minutes ago, tuanphan said:

Add to Home > design > Custom CSS


/* Hide Cookie banner in Edit Mode only */
body.sqs-edit-mode div#onetrust-consent-sdk {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

This code will hide Cookie banner in EDIT MODE ONLY.

 

 

Link to comment
20 minutes ago, tuanphan said:

Add to Home > design > Custom CSS


/* Hide Cookie banner in Edit Mode only */
body.sqs-edit-mode div#onetrust-consent-sdk {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

This code will hide Cookie banner in EDIT MODE ONLY.

 

 

Link to comment

Oh and must I first add the script you send me to the Custom CSS before I implement the script from the Cookie Banner to the Header ? Or can I have already implemented the Cookie Banner script to the header and just add the script you send me afterwards to the Custom CSS ? 

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.