Match Your Cookie Banner to Your Brand with WPConsent and AI
Your colours, layout and wording on the cookie banner, readable, with the old values kept to go back to.
Prerequisites
A site connected to WPVibe running WPConsent 1.2.1 or newer (tested on 1.2.1, free) on WordPress 6.9 or newer, with an administrator account.
My WordPress site uses WPConsent. Make my cookie banner match my brand: [your colours as hex codes, for example background #0f172a, text #f8fafc, accept button #22c55e], [a bar at the top or bottom, or a floating box in a corner, or keep it], [your banner message, or keep it], [button texts, or keep them]. 1. Run discover_abilities with category wpconsent-settings. If the WPConsent abilities this needs are not there, stop and tell me to install or update the free WPConsent plugin (1.2.1 or newer, on WordPress 6.9 or newer). 2. Run wpconsent/get-banner and keep its content and design in this chat: they are the values to go back to. If content.enable_consent_banner is false, tell me the banner is off, so my changes won't show until it is on; don't turn it on in this job. 3. Plan the change. A bar is banner_layout long with banner_position top or bottom; a floating box is banner_layout floating with left-top, right-top, left-bottom or right-bottom. Colours are 6-digit hex codes. Check the contrast of the text on the background and of each button's text on its button colour: if any is below 4.5 to 1, tell me and suggest the nearest colour that passes. If banner_button_type is outlined, the buttons have no fill, so check each button's text colour against the banner background instead. Keep the reject (cancel) button showing and as easy to reach as accept: don't turn off cancel_button_enabled or move it out of button_order unless I insist, and tell me why if I ask. Keep the message short, and add a link to it only if I ask. Show me a table of each field, before and after, and wait for my yes. 4. Run wpconsent/update-banner-design with only the design fields that change, then wpconsent/update-banner-content with only the texts that change; skip either call if it has nothing to send. When the layout changes, always send banner_layout and banner_position together. Never send enable_consent_banner or confirm. 5. Run wpconsent/get-banner and confirm each new value was saved. Run run_wp_cli with cache purge, so visitors get the new banner (a CDN in front of my site may need its own purge). 6. Tell me what changed, and the sentence to go back: Put my WPConsent banner back with these values, followed by the old values from step 2 for each field you changed. Then tell me to open my site in a private window to see it.
Skip pasting the full prompt. Drop this into your AI on a site that already has WPVibe:
Run the “Match Your Cookie Banner to Your Brand with WPConsent and AI” recipe from the WPVibe cookbook on my connected site.
The cookie banner is the first thing many visitors see, and the default one looks like it belongs to someone else’s site. Matching it means a screen of colour pickers, layout and position rules and button settings.
The AI reads your banner, turns your colours and wording into WPConsent’s settings, checks the text is readable on each colour, and shows you a before and after before changing anything. It keeps the reject button showing, saves only what you changed, and gives you the old values to go back to.
Changes show to visitors at once, so check your site in a private window afterwards. A bar across the page goes at the top or bottom; a floating box goes in a corner. Keep the message short: it is what visitors read before they choose.
Outcome
The banner in your colours and words, with every changed value listed next to the old one.