• Resolved koupmi

    (@koupmi)


    In cookies preferences are checkboxes with blue square instead setup from plugin.

    Screenshot: https://ctrlv.cz/shots/2022/02/15/pZkz.png

    HTML seems broken:

    <div class="cmplz-banner-checkbox">
    <div class="icheckbox checked"><input type="checkbox" id="cmplz-statistics-optin" data-category="cmplz_statistics" class="cmplz-consent-checkbox cmplz-statistics" size="40" value="1" style="position: absolute; opacity: 0;"><ins class="iCheck-helper" style="position: absolute; top: 0%; left: 0%; display: block; width: 100%; height: 100%; margin: 0px; padding: 0px; background: rgb(255, 255, 255); border: 0px; opacity: 0;"></ins></div>
    								<label class="cmplz-label" for="cmplz-statistics-optin" tabindex="0"><span>Statistiky</span></label>
    							</div>

    `

    • This topic was modified 2 years, 9 months ago by koupmi.
    • This topic was modified 2 years, 9 months ago by koupmi.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor jarnovos

    (@jarnovos)

    Hi @koupmi,

    Complianz doesn’t add the iCheckbox checkboxes to your site. Is it possible that your theme or another active plugin adds them instead?

    I’d expect that the theme/plugin this concerns has an available setting that allows you to deactivate this.

    As a quick method to find out if it’s the theme that inserts these ‘iCheckboxes’, you could temporarily switch to a default WordPress theme (such as Twenty Twenty One). If the checkboxes disappear upon doing so, you’ll know that they are added by the theme.

    Hope it helps!
    Kind regards,
    Jarno

    Thread Starter koupmi

    (@koupmi)

    Its from theme (iCheckbox is class in style.css) but why it add html inside your plugin?

    Theme is custom made.

    Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    @koupmi
    Why the theme is adding html in the complianz cookiebanner is not something we can answer I’m afraid. Possibly some custom css can fix the issue.

    I would recommend to contact the theme developer about this.

    Thread Starter koupmi

    (@koupmi)

    Will affect HTML like this functionality of plugin?

    I found “iCheckbox” using this JS in theme: /wp-content/themes/ava/js/icheck/icheck.min.js

    Could i use display:none for class “label.cmplz-label”?

    • This reply was modified 2 years, 9 months ago by koupmi.
    Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    Yes, that should be no problem.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Checkboxes are broken’ is closed to new replies.