How can I set-up a small cookie manager component to change preferences?

Description

I can’t find any option to set up a tiny cookie banner that is always visible and that users can always change preferences. Without it, it is not fully GDPR compliant.

Site URL

Steps to Reproduce

Well, just visit the website and see that the banner dissapears.

Expected Behavior

As above, the banner should be in some minimised form, always accessible.

Hey @maja!

Cookie Consent adds an element with the attribute fs-consent-element="fixed-preferences" and class fs-consent_open-prefs. This element is responsible for opening the preference panel when a user wants to modify their consent selection.

You can either:

  • Re-generate the component by removing the element with class fs-consent_component and adding it again through the app
  • Manually rebuild the fixed preferences element using the structure below:
<div fs-consent-element="fixed-preferences" class="fs-consent_open-prefs">
  <div fs-consent-element="open-preferences" class="fs-consent_open-prefs_wrapper">
    <div class="fs-consent_open-prefs_text">Preferences</div>
  </div>
</div>

:warning: Important: If you choose to rebuild this manually, make sure to place the element inside the fs-consent_component. Do not remove or modify the required attributes.

If you need help with implementation, @Support-Luis or @Support-Pedro will be happy to assist.