Harborn-digital / cookie-consent-bundle

Symfony bundle to append Cookie Consent to your website to comply to AVG/GDPR for cookies.
MIT License
18 stars 16 forks source link

Simplified version still shows categories #61

Open NiklasBr opened 4 years ago

NiklasBr commented 4 years ago

Categories are still rendered when using the simplified option:

Screenshot (12)

I tried to check out the commit ff7d578bc664406701cdb2d64b34fb9fef84a35f and configure with simplified: true, however, when I did so the result was that both the complex categories and the simplified version appeared next to each other:

ch_cookie_consent:
    position: 'top'
    simplified: true
    theme: 'dark'
    use_logger: false

But this then shows both the simplified buttons: "Only use functional cookies"/"Allow all cookies" and "Do you want tracking cookies? Yes/No" + "Do you want personalised ads? Yes/No" + "Do you want social media cookies? Yes/No"

This isn't the intention, right?

NiklasBr commented 4 years ago

I suppose it can be hidden with CSS, but would prefer if it wasn't expoased at all.

sigma-technology commented 4 years ago

It would be hidden if you used the default stylesheet that comes with this bundle. I didn't want to use the default one, so I copied the relevant CSS to hide the categories by default.

NiklasBr commented 4 years ago

Yes, but my point is that I don't want to generate unnecessary HTML to begin with.