Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Cookie banner


Christine_DTS

Question

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

4 answers to this question

Recommended Posts

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

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