PHPackages                             hounddd/wn-gdprplus-plugin - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. hounddd/wn-gdprplus-plugin

ActiveWinter-plugin[Utility &amp; Helpers](/categories/utility)

hounddd/wn-gdprplus-plugin
==========================

Additional features for OFFLINE.Gdpr plugin

v1.0.4(4mo ago)177MITPHPPHP ^7.2 || ^8.0

Since Mar 29Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/Hounddd/wn-gdprplus-plugin)[ Packagist](https://packagist.org/packages/hounddd/wn-gdprplus-plugin)[ Docs](https://gitlab.com/hounddd/wn-gdprplus-plugin)[ RSS](/packages/hounddd-wn-gdprplus-plugin/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (3)Dependencies (1)Versions (6)Used By (0)

Hounddd.GdprPlus Plugin for WinterCMS
=====================================

[](#houndddgdprplus-plugin-for-wintercms)

[![Winter GDPRPlus plugin banner](https://github.com/hounddd/wn-gdprplus-plugin/raw/main/.github/GDPRPlus-plugin.png?raw=true)](https://github.com/hounddd/wn-gdprplus-plugin/blob/main/.github/GDPRPlus-plugin.png?raw=true)

This plugin adds additional features for managing personal data to the [OFFLINE.GDPR](https://github.com/OFFLINE-GmbH/oc-gdpr-plugin) plugin.

Wide banner
-----------

[](#wide-banner)

A new component is available to replace the simple banner provided by the original plugin.
It can be implemented by just substituting the name of the `cookieBanner` component in your layout with `cookieBannerWide`:

```
...
[cookieBannerWide]
...
==
...
{% component 'cookieBannerWide' %}
...
```

#### Additional and optional properties of the `cookieBannerWide` component\*\*

[](#additional-and-optional-properties-of-the-cookiebannerwide-component)

The component offers two new (optionals) properties that allow you to configure its appearance.

PropertyTypeDescription`bg_cookie`BooleanShow or not a cookie background in the banner (default off)`color_scheme`StringThe color scheme to use for toggles and buttons (default blue)The available color schemes are blue (default), red, orange, amber, yellow, lime, green, emerald, teal, cyan, sky, indigo, violet, purple, fuchsia, pink and rose.

#### Colors schemes

[](#colors-schemes)

[![Winter GDPRPlus plugin color schemes](https://github.com/hounddd/wn-gdprplus-plugin/raw/main/.github/GDPRPlus-color-schemes.png?raw=true)](https://github.com/hounddd/wn-gdprplus-plugin/blob/main/.github/GDPRPlus-color-schemes.png?raw=true)

### Make it your own

[](#make-it-your-own)

#### Appearance

[](#appearance)

If you wish, you can define your own color scheme by specifying the following css variables in a `.gdpr-bannerwide` selector:

```
.gdpr-bannerwide {
    --color-background: #bfdbfe;
    --color-border: #3b82f6;
    --color-accent: #1d4ed8;
}
```

You can also define the size of the toggles by setting the `--toggle-size` variable in a `.gdpr-bannerwide` selector:

```
.gdpr-bannerwide {
    --toggle-size: 20px;
}
```

The default size is 20px on smartphones, 22px on small screens, 24px on medium screens and 28px on large screens.

#### Texts

[](#texts)

You can replace the basic title and message by defining a translation file in your site `./lang/en/hounddd/gdprplus/lang.php`:

```
