Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplified version still shows categories #61

Open
NiklasBr opened this issue Apr 29, 2020 · 3 comments
Open

Simplified version still shows categories #61

NiklasBr opened this issue Apr 29, 2020 · 3 comments

Comments

@NiklasBr
Copy link
Contributor

Categories are still rendered when using the simplified option:

Screenshot (12)

I tried to check out the commit ff7d578
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
Copy link
Contributor Author

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

@sigma-technology
Copy link

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
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant