InspireTheme turns six! Join now or renew your subscription with a 25% OFF! Read More

Blog

Cookie Consent - Gantry 5 Atom

Hey guys, it is time for another cool FREEBIE from InspireTheme.com - meet the Cookie Consent atom for Gantry 5!

We really love to listen to what our users suggest, and since few of them requested it, we could not do anything else but develop it :)

The "Cookie Consent" atom is a really handy and useful addition for all EU-based website. Actually, European laws require that digital publishers give visitors to their sites information about their use of cookies and other forms of local storage. In many cases these laws also require that consent be obtained.

Our "Cookie Consent" atom uses the most popular Cookie Law solution - the one developered by the guys at Silktide. It comes with all the features one would need and it also comes with 10 built-in themes. Those themes allow you to easily place the consent notices at the most suitable place for your particular website!

Our "Cookie Consent" atom loads all assets from a CDN. That's how you get a better performance and you do not need to worry about coping additional files and stuff. Also, the atom loads only the needed asstes - it means that if you select to use the "Dark Bottom" theme for example, only its CSS will be loaded.

You can also easily customize the look of the consent notice. Just select the theme that is the closest to what you want to achieve and then add few lines of code to your custom.scss file. For example, on our website (InspireTheme.com) we use the "Light Floating" theme and the following code in our "custom.scss" file:

	
@import "dependencies";

.cc_banner-wrapper  {
	.cc_container {
		border-color: $base-border-color;
		padding: 15px 20px 70px;
		box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
		.cc_message {
			line-height: 1.5rem;
		}
		.cc_btn {
			background-color: $accent-color-1;
			color: #ffffff;
			left: 20px;
			right: 20px;
			bottom: 20px !important;
			@include transition(all 0.2s);
			&:hover, &:focus {
				background-color: lighten($accent-color-1, 10%);
				color: #ffffff;
			}
		}
		.cc_logo {
			display: none;
		}
	}
}
	

And of course, as all our particles and atoms, the "Cookie Consent" atom works out-of-the-box with any Gantry 5 theme on both Joomla and Wordpress (and soon on Grav)!

Well, this is it guys. Now go ahead, download the atom, install it on your website and make it compliant with the EU Cookie Law. Enjoy!


Cookie Consent atom for Gantry5

Cookie Consent Atom

The "Cookie Consent" atom adds a cookie consent notice to your website.

Demo Video Documentation Download
Become an insider | Subscribe to our Newsletter
Subscribe to our mailing list and stay up-to-date with all our awesome releases, latest updates and amazing discount offers!