Ignore font-family set by Cookiebot

Comments

3 comments

  • Hi Erik,

    You could style Cookiebot on your website by using custom CSS stylesheet.
    By including you own style css you could over-write the Cookiebot css style and then apply the desired changes. Please, keep in mind that you might need to use the !important css attribute in order to change the font-family.

    Regards, 
    Spas

    0
    Comment actions Permalink
  • Avatar
    Erik

    I added #CybotCookiebotDialog { font-family: 'Open Sans' !important; } to the end of our CSS file, but it doesn't work. Can I drop our url in a private message so you can have a look?

    Btw, it would be so much easier if you can change the font in the Cookiebot interface, just like other elements you can change already (e.g. font).

    0
    Comment actions Permalink
  • Hi Erik,

    In order to overwrite the style (font-family) of a specifix element e.g. title, text content etc. you should do it for every element which has assigned font-family style. For example: 

    #CybotCookiebotDialog a, #CybotCookiebotDialog div, #CybotCookiebotDialogBodyContentTitle {
            font-family: 'Open Sans' !important;
    0
    Comment actions Permalink

Please sign in to leave a comment.