The Privacy Suite for WordPress

CSS Lesson #8 Styling your categories

Get compliant today in the European Union, United States, Canada, United Kingdom, Australia, Brazil & South Africa with the only Privacy Suite for WordPress that offers a fully-featured plugin for Worldwide Compliance.

For this lesson we will do two things, removing an unused category from the overview and changing the colors of the square checkboxes, both can be achieved with a little CSS.

Changing the color of the square checkbox

To change the color, for example to green, of the square checkboxes you can use:

Removing an unused category, like “Marketing”.

Sometimes (rarely) a website uses only functional and statistics , making the “Marketing” category unnecessary because activating the category won’t set any services or cookies. You can remove the category by adding some CSS. In this example, we remove the 3rd category, of the category list. We will use 3+1 (4) to remove the square and category name. You can play around with the number to get the right category.

.cmplz-categories-wrap:nth-child(4) {
display:none;
}

Let us know if you have an idea for another lesson.

Recent articles

The Privacy Suite for WordPress
Get compliant today with the only Privacy Suite made for WordPress

Categories

Popular articles

LGPD Brazil and WordPress

The “Marco Civil” and the Brazilian General Data Protection Law (LGPD) In Complianz 5.4 we will add full support for the Civil Rights Framework for

Read More

Join our mailing list - 8 Tips & Tricks in your inbox over the next 8 weeks!