pressidium / pressidium-cookie-consent

🍪 Lightweight, user-friendly and customizable cookie consent banner to help you comply with the EU GDPR cookie law and CCPA regulations.
https://wordpress.org/plugins/pressidium-cookie-consent/
GNU General Public License v2.0
43 stars 3 forks source link

Plugin CSS gets overwrite #34

Closed ismailtilki closed 8 months ago

ismailtilki commented 8 months ago

solved

over-engineer commented 8 months ago

Hey, @ismailtilki!

I see you’ve edited this to “solved” so I’m closing this issue. If you have any more questions, feel free to ask 🙂

ismailtilki commented 8 months ago

hey, i fixed it by prioritizing the stylesheet of the plugin css in the header of my page and changing the "Cookie settings" button from <button type="button" data-cc="c-settings" class="cc-link">Cookie settings</button> to <button type="link" data-cc="c-settings" class="cc-link">Cookie settings</button> idk. if you could fix this, would be nice for maybe other people who don't know how to solve.

over-engineer commented 8 months ago

Hey, @ismailtilki!

I’m reopening this issue as it seems there’s still an unresolved problem.

Since your initial comment was edited, could you please describe the issue you’re experiencing and provide a link and/or the steps needed to reproduce this?

ismailtilki commented 8 months ago

Install a custom theme where it has also it's own button CSS. The custom Theme CSS should now overwrite the Buttons CSS on the Cookie Consent and also the close button in Cookie Settings. Fix for the Accept and Decline Button: <link rel="stylesheet" href="https://sample.com/wp-content/plugins/pressidium-cookie-consent/public/bundle.client.css"> Fix for the Cookie Settings "Button": <button type="button" data-cc="c-settings" class="cc-link">Cookie settings</button>

ismailtilki commented 8 months ago

since my theme got an big update it's fixed. sorry for the inconvenience.

over-engineer commented 8 months ago

I’m glad the issue is resolved. If you have any more questions, feel free to open another issue 🙂