GDPR Cookie Consent

Posted on June 2, 2018 | http://p0wel.ly/1v

Since GDPR came into force a few weeks ago I’ve noticed a lot of sites are using the GDPR Cookie Consent plugin, which appears at the bottom of this site as well as many others. By default the free version of the plugin does not offer any the ability to customise the colours in anyway, for that you need the premium version which offers some additional functionality.

If you do not need the extra functions and just want to change the colours then adding the following CSS to your site will allow you to change the colours of all the elements on the bar.

/* Cookie bar colours*/
#cookie-law-info-bar{
	background-color:#252E32 !important;
	color:#fff !important;;
}
/* Cookie bar link colour */
.cli-plugin-main-link{color:#FD6040 !important;}

/* Cookie bar button colours*/
.cli-plugin-button{
	color:#fff !important;
	background-color:#000 !important;
}

 

--

Andy Powell is a website specialist with 20 years experience, he is also the founder of Hack Oldham, a non profit co-working and maker space, a digital trainer and a maker of things.

If you found this post useful you could show you're appreciation by buying me a coffee.

No Replies to "GDPR Cookie Consent"


    Got something to say?

    Some html is OK

    This site uses Akismet to reduce spam. Learn how your comment data is processed.