Introduction
Cookie Consent 1.7 is a site module for Joomla 4, 5, and 6 that shows a modern GDPR-friendly cookie banner built with vanilla JavaScript.
Version 1.7 replaces the old third-party cookieconsent library with a lighter custom UI: rounded banner, soft blur, pill buttons, consent modes, themes, positions, colours, typography, and a Cookie settings revoke chip for Opt-in and Opt-out.
Highlights
- Info, Opt-in, and Opt-out modes
- Banner and floating positions
- Block, Classic, Edgeless, and Wire themes
- Brand colours and optional typography
- Policy link support
- No jQuery dependency
- Joomla 4 / 5 / 6 compatible
General Settings
- Consent Type
- Just tell users that we use cookies (Info)
- Let users opt out of cookies
- Ask users to opt into cookies
- Banner Position: Banner bottom, Banner top, floating corners, or Banner top sticky
- Theme: Block, Classic, Edgeless, Wire
The module stores the visitor choice in the cookieconsent_status cookie for upgrade compatibility with 1.6.
Content and Colours
- Cookie Message: main banner text (limited HTML allowed)
- Dismiss / Accept / Decline button labels
- Show Policy Link, link text, and URL
- Banner Background and Banner Text colours
- Button Background and Button Text colours
Defaults in 1.7 use a warm stone banner (#1c1917) and amber accent (#f59e0b). Change them to match your brand.
Typography and Advanced
- Font Family: optional Google or system font name
- Font Size, Font Weight, Text Transform
- Line Height and Letter Spacing
- Additional CSS: optional rules. Useful selectors:
.jx-cc, .jx-cc__message, .jx-cc__btn
After Opt-in or Opt-out choices, a Cookie settings chip lets visitors reopen the banner and change their answer.