Resolving Common Conflicts Between Complianz and Elementor
Content
Many WordPress users rely on both the Complianz – GDPR/CCPA Cookie Consent plugin and Elementor page builder. While powerful together, these two plugins can sometimes interact in unexpected ways, causing issues with popups, menus, and other page elements. This guide outlines the most common conflicts and provides tested solutions to resolve them.
Common Symptoms of Complianz & Elementor Conflicts
Based on community reports, issues typically manifest in one of the following ways:
- Clicking the Complianz banner closes Elementor popups
- Elementor widgets (like accordions, menus, or animated headlines) malfunction after accepting cookies
- Elementor's lightbox feature for images or videos breaks
- Custom fonts (e.g., Adobe Fonts) fail to load
- The Elementor editor panel fails to load with Complianz active
- Page layout appears broken or elements are duplicated
Why These Conflicts Happen
Complianz works by managing scripts and cookies to ensure compliance with privacy regulations. This process can sometimes interfere with how Elementor and its add-ons initialize or run their scripts. The most common root causes are:
- Overzealous Script Blocking: Complianz may block an Elementor-related script before consent is given, preventing it from functioning correctly even after consent is provided.
- Integration Conflicts: Specific integrations within Complianz, particularly for add-ons like 'Ultimate Addons for Elementor,' can cause re-initialization issues or script errors.
- CSS Overrides: Global CSS from Elementor can sometimes override the styling of Complianz elements, and vice-versa.
- Popup Behavior: Both plugins manage popup behaviors and closures, which can lead to overlapping functionality.
Tested Solutions and Workarounds
1. Manage Integrations in Complianz
The first and most effective step is to review and disable specific integrations.
- Navigate to Complianz -> Integrations -> Plugins
- If present, try disabling the integration for 'Ultimate Addons for Elementor'. This is a frequent culprit for widget malfunctions and layout issues.
- You can also try disabling the standard 'Elementor' integration. Note that the 'Elementor Pro' integration toggle may switch itself back on; this is normal as it primarily handles Legal Hub template support. Focus on disabling the non-Pro version.
- Save changes and clear all site and browser caches.
2. Adjust Elementor Popup Settings
If your Elementor popup closes when the cookie banner is interacted with, a simple setting change in Elementor often helps.
- Edit your Elementor popup.
- Click the Settings (cogwheel) icon.
- Go to the Advanced tab.
- Enable the option 'Prevent Closing on Overlay'.
- Save your changes.
3. Whitelist Problematic Scripts
If a specific Elementor feature (e.g., TranslatePress integration within Elementor) breaks, the script powering it might be blocked.
- Go to Complianz -> Integrations -> Script Center.
- Click 'Whitelist a script...'.
- Enter the URL or identifier of the script (e.g.,
trp_data). Often, the theme or add-on developer can provide this identifier. - Save and enable the new integration by switching its slider on.
4. Use Custom CSS
For visual issues like a lingering 'X' or font-size conflicts, CSS can provide a quick fix.
- Navigate to your theme's Custom CSS area (often under Appearance > Customize > Additional CSS) or the Complianz > Cookies banner > Custom CSS section.
- To hide a persistent 'X', add:
.cmplz-hidden{display:none!important;} - To prevent Elementor's global button CSS from affecting the Complianz banner, use more specific CSS rules to override the styles.
5. Disable Placeholders or Use Safe Mode
For issues with embedded content like videos or lightboxes:
- Try disabling placeholder insertion in Complianz -> Tools -> Placeholders -> Disable Placeholder Insertion.
- For deeper diagnostics, enable Complianz -> Tools -> Support -> Enable Safe Mode. This temporarily deactivates all integrations to help identify the conflict.
6. Check for Other Common Fixes
- Clear Caches: Always clear your WordPress cache (from plugins like WP Rocket or LiteSpeed) and your browser cache after making any changes.
- Increase Memory Limit: In rare cases, the Elementor editor may not load due to resource constraints exacerbated by running both plugins. Increasing your WordPress memory limit can resolve this.
- Wrap Embeds: If a video embed breaks the layout before consent, try wrapping it in a simple
<div>block or a 'Group' block in the Gutenberg editor to isolate it.
Conclusion
Conflicts between Complianz and Elementor are almost always solvable by adjusting a few settings, primarily within the Complianz integrations panel. The most effective solution is often to disable the 'Ultimate Addons for Elementor' integration. By systematically working through these solutions, you can maintain both a compliant website and a fully functional Elementor design.
Related Support Threads Support
-
Complianz update conflicts with Elementor Toggle widgethttps://wordpress.org/support/topic/complianz-update-conflicts-with-elementor-toggle-widget/
-
[NSFW] Complianz closes Elementor Popuphttps://wordpress.org/support/topic/complianz-closes-elementor-popup/
-
Broken Elementor pagehttps://wordpress.org/support/topic/broken-elementor-page/
-
Conflict between Elementor and Complianz (accordion widget) if cookies acceptedhttps://wordpress.org/support/topic/conflict-between-elementor-and-complianz-accordion-widget-if-cookies-accepted/
-
Unable to bloc iframehttps://wordpress.org/support/topic/unable-to-bloc-iframe/
-
Elementor bughttps://wordpress.org/support/topic/elementor-bug-7/
-
Compatibility Issue Complianz – Translatepress – Elementor Lightboxhttps://wordpress.org/support/topic/compatibility-issue-complianz-translatepress-elementor-lightbox/
-
Problem of cookies list to selecthttps://wordpress.org/support/topic/problem-of-cookies-list-to-select/
-
Conflict with Elementor togglehttps://wordpress.org/support/topic/conflict-with-elementor-toggle/
-
Can’t disable Elementor Pro integrationhttps://wordpress.org/support/topic/cant-disable-elementor-pro-integration/
-
Complianz Elementor problèmehttps://wordpress.org/support/topic/complianz-elementor-probleme/
-
Adobe Fonts not showing because of Elementor-Complianz confilcthttps://wordpress.org/support/topic/adobe-fonts-not-showing-because-of-elementor-complianz-confilct/
-
Compatibility issues with Lightboxhttps://wordpress.org/support/topic/compatibility-issues-with-lightbox/
-
Button cookieshttps://wordpress.org/support/topic/button-cookies/
-
Issue with Ultimate Addons / Elementorhttps://wordpress.org/support/topic/issue-with-ultimate-addons-elementor/
-
Complianz breaks Lightbox in Elementorhttps://wordpress.org/support/topic/complianz-breaks-lightbox-in-elementor/
-
Cookies acceptance cause a FAQ Schema (UAE) bughttps://wordpress.org/support/topic/cookies-acceptance-cause-a-faq-schema-uae-bug/
-
Complianz – GDPR/CCPA Cookie Consent + Elementor PROhttps://wordpress.org/support/topic/complianz-gdpr-ccpa-cookie-consent-elementor-pro/
-
Elementor Menu buggedhttps://wordpress.org/support/topic/elementor-menu-bugged/
-
Problem with Complianz and Elementor Popupshttps://wordpress.org/support/topic/problem-with-complianz-and-elementor-popups/
-
Complianz blocking Elementor elementshttps://wordpress.org/support/topic/complianz-blocking-elementor-elements/
-
Legal hub templatehttps://wordpress.org/support/topic/legal-hub-template/
-
Elementor Pro Panel Not Loading After Activating Cookie Pluginhttps://wordpress.org/support/topic/elementor-pro-panel-not-loading-after-activating-cookie-plugin/
-
Broken template when plugin enabledhttps://wordpress.org/support/topic/broken-template-when-plugin-enabled/
-
Complianz vs. Elementor Prohttps://wordpress.org/support/topic/complianz-vs-elementor-pro/
-
closing cookie pop-up closes all popupshttps://wordpress.org/support/topic/closing-cookie-pop-up-closes-all-popups/
-
Clicking cookie banner closes Elementor popuphttps://wordpress.org/support/topic/clicking-cookie-banner-closes-elementor-popup/
-
Disappointed.https://wordpress.org/support/topic/disappointed-116/
-
Big “X” when I open my websitehttps://wordpress.org/support/topic/big-x-when-i-open-myu-website/