Jump to content

Recommended Posts

Site URL: https://www.discoverthespots.com/en

Hello,

i have a multilingual website and I would. like to know how to edit the cookie banner so that when on the /en pages the text shows in English while in the /de pages in German. 

Is it possible to hide .sqs-cookie-banner-v2-text and then put an :after in the code injection of certain pages? Or maybe to hide part of the next inserted?

Ive tried writing in in many ways but I cannot seem to figure it out. 

password:rome2020

thank you!

C

Link to comment
  • 5 months later...
19 hours ago, pramirol said:

hello @Christine_DTS, did you find a solution for this?

Hi. If you share link to your site, we can help easier

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
On 1/8/2021 at 5:33 PM, pramirol said:

Hello @tuanphanyou are always a saviour, my website is:

https://www.simpledomus.com/

I am still working on the translation of the website so I am not sure if it can be done already.

 

Thank you so much for your help in advance

Hi. Add this code to Page Header

<style>
  /* Cookies banner text */
.sqs-cookie-banner-v2-text p {
    font-size: 0;
}
.sqs-cookie-banner-v2-text p:nth-child(2):before {
    content: "new text";
    font-size: 12px;
}
/* Cookies banner link */
.sqs-cookie-banner-v2-text p a {
    font-size: 0;
}
.sqs-cookie-banner-v2-text p a:before {
    font-size: 12px;
    content: "link new";
    margin-left: 2px;
}
</style>

 

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.