CSS Lesson #5 Styling the “Blocked content text” on placeholders.

You might have seen below placeholders on your website which are placed before consent by Complianz. On the blocked content there’s an additional “Accept Cookies” button so your users, which might have opted out earlier can revoke their consent and give consent to unblock content.

The button, with the text “Click to accept cookies and enable this content” can be changed with some CSS. The text on the button can be changed under settings. Below we will show an example with the CSS properties needed to style your own button.

Because this button will show on all blocked content, make sure your button is visible and stands out in all variations. Have any questions? Let us know!

Need support for Google Consent Mode V2, or TCF? Start here with our dedicated support team.

Join 1 Million users and install The Privacy Suite for WordPress locally, automated or fully customised, and access our awesome support if you need any help!

Celebrate with a limited-time

40% Discount!

Mark our one million users milestone when you join or upgrade today.