Skip to main content
All CollectionsCookie Banner
Using custom CSS / JS in the app
Using custom CSS / JS in the app
Mollie Herbert avatar
Written by Mollie Herbert
Updated over 7 months ago

Have some coding skills?

You're able to add custom CSS / JS code to your app.

Head over to the "advanced" tab > use the custom CSS input / custom JS input.

Custom CSS - usually used to apply a custom design.

Custom JS - usually used to apply additional logic.


โ€‹

After you're done applying code - click "save".

Custom JS How To's

Controlling when the widget is displayed

You can programatically control the Cookie bar appearance on your page using the following method:

conversionBearCookieConsent.hideBar(); // hides the widget for this tab sessionconversionBearCookieConsent.hideBar(true) // hides the widget for this user

Send us a messages and our team will be more than happy to fit the app to your needs.

Did this answer your question?