• Login
  • Register

DNN Blogs

Written for the Community, by the Community

Styling Cookie Consent in DNN with Tailwind CSS

Written By Aaron Lopez
2022-09-13

This is crossposted from my blog at Wolf X Machina: https://wolfxmachina.com/blog/category/video/styling-cookie-consent-in-dnn-with-tailwind-css

Tired of the ugly black and yellow Cookie Consent banner on DNN websites? Let's fix that.

For the average DNN website, there are only a few public-facing CMS components that you probably need to style. For example, Login, Registration, and Search. And the only other thing that I can think of (at the moment) is the Cookie Consent.

But pretty much every DNN website that I come across uses the default Cookie Consent style out of the box. You know what I'm talking about? That ugly, blocky, dark and yellow (?!) button when you first land on a DNN website that has Cookie Consent enabled. 

In this video, I'll show you how to quickly and easily style it really easily so it stays on brand.

Even if you don't use Tailwind CSS, you can still use the same ideas and even the same Generated CSS to style your Cookie Consent. Here's the Tailwind Play link.

More about Wolf X Machina Read more posts by Aaron

Total: 0 Comment(s)

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved