Skip to main content

Configuration of the "Swift" banner



  • Ulrich Babiak

    Looks much better than before ( although the cookiebot logo is quite dominant...).

    However, we might be forced to stick to the old one due to one Problem. Previously, we had the button text "Allow selected" when using the two-button solution.

    Now, if we use the same settings for Swift as we had used for Elemental, the label text is enforced to "Allow necessary only" if no selection is made. The Button #CybotCookiebotDialogBodyButtonDecline ist now visible by default, while in Elemental theme it was #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection

    This is, for us, undesired. However it seems as if there is no way to get rid of this now enforced label  text. Is that correct? 

    Trying to hack it with plain CSS, I came up with

    #CybotCookiebotDialogBodyButtonDecline::after {
    font-size: 15px !important;
    content: "Auswahl erlauben";
    #CybotCookiebotDialogBodyButtonDecline {
    font-size: 0px;

    Very dirty hack - is there a better way to get back to the old text "Allow selection" even if no specific selection was made?



  • Richard van der Velde

    Hi Ulrich Babiak,

    Thank you for your feedback! Our product Management team is made aware of your feedback and is looking into an optimal way to address the issue.

    The "selection" button is responsive, which means that if no categories are selected, the button will be labelled "Use necessary cookies only", but will change to "Allow selection" if one or more categories have been enabled.

    There is an easy fix though if you're using the two button solution; Set the value of the "Decline button" (Schaltflächentext ablehnen) text field to "Allow selection" (Auswahl erlauben) on the Content (Inhalt) tab.
    That way the button will display the same text regardless of whether any toggles are enabled.

  • Alexander Kohlheyer

    Very cool! Just tested it on our page and it worked well, except a problem with font-sizes. 
    Somehow the CSS-rule setting the font-size on 0.983rem takes a base-size of 10px from a library we use. Unfortunately the Cookiebot-dialogue text is unreadable because of that.

    Is it planned or possible to remove your font-size CSS-rules based on REM in the future or alternatively configure it in the Cookiebot-Backend? (yeah I know, the backend should be kept easy and not be overloaded with style-settings ;) ) 

    Thanks for the update!

  • Brian Mørkeberg Lundkvist

    Hi Alexander

    Thank you for reporting this. We released an update on Friday to fix the CSS issue causing small font size on some banners. Please reach out if you should still be seeing this on one of more of your domains. Thanks.


  • Frida Rydén

    Could you please help me with instructions on how to test the new Swift banner in our Test Environment first without publishing any changes to the live environment (our domain alias under Cookiebot Settings panel)? 
    Also: with the new swift banner I can't seem to toggle buttons to allow cookies in "Details" section. Only the pre-set "necessary" will thus be collected - which means loss of data (preferences, statistic and marketing cookies)


Please sign in to leave a comment.