Back to Community

Troubleshooting Common CookieYes Cookie Settings Button Issues

Content

If the Cookie Settings button in your CookieYes banner isn't working, you're not alone. This is a frequent issue reported by users, often stemming from conflicts with other site elements. This guide will walk you through the most common causes and their solutions to get your settings popup functioning correctly again.

Why Your Cookie Settings Button Might Not Work

The button failing to open the settings popup is typically not a flaw in the plugin itself but rather a conflict with another part of your WordPress setup. Based on community reports, the primary culprits are:

  • Theme or plugin conflicts causing JavaScript errors.
  • Missing closing HTML tags in the cookie banner's custom message.
  • Cookies or categories that haven't been properly assigned or translated (on multilingual sites).
  • Specific conflicts with plugins like 'Essential Addons for Elementor'.
  • Cached versions of your site serving outdated code.

Step-by-Step Troubleshooting Guide

1. Check for HTML Errors in Your Banner Message

A common and easily fixable cause is an unclosed HTML tag in your custom banner text.

  1. In your WordPress dashboard, navigate to GDPR Cookie Consent > Customise Cookie Bar > Message Box.
  2. Carefully review the text and any HTML code you've added. Ensure every opening tag (e.g., <div>, <span>, <strong>) has a corresponding closing tag (e.g., </div>, </span>, </strong>).
  3. Save your changes and check if the button now works.

2. Perform a Conflict Test

This is the most effective way to identify if another theme or plugin is causing the problem.

  1. Clear Caches: If you use a caching plugin (e.g., WP Rocket, W3 Total Cache) or a server-side cache, clear them all completely.
  2. Switch Themes: Temporarily switch your website's theme to a default WordPress theme like Twenty Twenty-Four. Clear your cache again and check if the Cookie Settings button works. If it does, the issue lies with your regular theme.
  3. Deactivate Plugins: If the issue persists with a default theme, deactivate all your plugins except for CookieYes. Clear your cache and check the button. If it works, reactivate your plugins one by one, checking the button after each activation, to identify the conflicting plugin.

3. Verify Cookie and Category Setup (For Multilingual Sites)

If you use a multilingual plugin like WPML, the settings popup may appear blank or not open if cookies and categories are not fully translated.

  1. Go to GDPR Cookie Consent > Cookie List and Cookie Category.
  2. Ensure that every cookie and category has been properly translated into all active languages on your site. You cannot simply translate the category; you must also assign the translated cookies to the translated categories.

4. Investigate Known Plugin Conflicts

Community threads have specifically identified conflicts with the 'Essential Addons for Elementor' plugin. If you use this plugin, consider temporarily rolling back to a previous version until the conflict is resolved by the plugin's developers.

5. Try a Custom CSS Fix

In some cases, a simple CSS override can force the modal to display correctly. Add the following code to Appearance > Customize > Additional CSS in your WordPress dashboard:

.cli-modal.cli-show { opacity: 1 !important; }

When to Seek Further Help

If none of the above steps resolve your issue, the problem may be more complex. Before seeking help, gather the following information, as it will be crucial for troubleshooting:

  • The URL of the page where the issue occurs.
  • A list of your active themes and plugins.
  • Any errors visible in your browser's JavaScript console (usually accessible by pressing F12 and clicking the 'Console' tab).

You can then present this information when asking for help in relevant community support forums.

Related Support Threads Support