Complianz Privacy Suite

CSS Lesson #3: Using your own Document CSS

Aert Hulsebos

Aert Hulsebos


Popular articles

Editing Legal Documents

The legal documents are generated by the Wizard and will show up under ‘Pages’ with a shortcode in the content. This shortcode is used to

Read More
Share on facebook
Share on twitter
Share on linkedin

We have added our own CSS for the legal documents, so out-of-the-box, your documents look great at the front-end. If you want to add to our CSS, you can add custom css under settings. With the right CSS properties, you can change almost anything.

If you rather let your theme’s CSS control the look of the documents, you can disable our CSS alltogether and change custom CSS in your theme if necessary.

The revoke button

Important to note is we added CSS for the revoke cookie consent button below the Cookie Policies. When our CSS is disabled the button’s properties will change, for example:

Document CSS Enabled
Document CSS Disabled

When Document CSS is disabled you will see the following:

Current status: AcceptedCurrent status: Denied

To hide the current status, please add the following to custom CSS:

/* styles for the status in document */
.cmplz-status-denied, .cmplz-status-accepted {

To change the button use (example):

/* styles for the revoke button in document*/
#cmplz-document {
background-color: #ffd600;
border-color: #ffd600;
height: 35px;
font-family: inherit;
font-weight: bold;

If you want to change the hover properties. Please add :hover to your property.

#cmplz-document {}

Added CSS for revoke button

If you need to change the headings, colors, font-size and more, please visit Complianz > Settings. We have added the most common properties for you to our Custom CSS. Try it out, or leave us a message!

Related articles

3 Responses

Leave a Reply

Your email address will not be published.


We have released 4.0 for Premium. For more information about and New Features...