• Resolved erinehm

    (@erinehm)


    The text for the checkboxes under the comment form is showing up, but the checkbox itself is stretched out and it’s impossible to click on it. My theme is Semplice. I tried the advice given in a previous topic to add:

    .wpgdprc-checkbox label {
    display: inline-block;
    }

    In the CSS but it’s not working.

    Thank you!

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • I’ve found a similar issue with CSS and this plugin. But it’s due to the structure of the HTML.

    1. How it currently is:
    <label>
    <input id=”wpgdrc” type=”checkbox” />
    Text…
    </label>

    2. Works better, allows clicking on words to activate the checkbox too:
    <input id=”wpgdrc” type=”checkbox” />
    <label for=”wpgdrc”>Text…</label>

    Unfortunately changing the plugin template structure will probably break next time there’s an update. I suggest the plugin author allows more than one type of HTML markup.

    The second example above is a common way of writing checkbox/radio inputs, and allows far more flexibility for styling.

    Same here ??
    I have disabled the jetpack comments. The integration in the plugin is activated. But the checkbox is not displayed. However, sending the comment is prevented, the error message appears. The CSS code mentioned by @erinehm is no remedy.
    Wordpress 4.9.6, Theme Uku by Elmastudio.
    Is the PHP version used important?

    Same problem here check box does not show up for wp comments, it does however show on my woocommerce product review sections.

    @erinehm; I can see you’ve fixed it already. Good.

    @shovelshed; The current HTML structure is the way to go, actually. It allows you to click on the checkbox OR on the checkbox text. If you want to change the output, you may use the following filter: wpgdprc_checkbox_text (accepts 1 variable $output) or a more specific filter, for example for CF7 checkboxes: wpgdprc_cf7_checkbox_text (accepts 2 variables: $output and $formId)

    @new_joerg; If you’re not getting any fatal errors, it means your PHP version is fine. 99% chance it’s a theme styling issue. Please create a new support ticket with the link to the page where the checkbox is supposed to appear and I’ll take a look. Same goes for you, @royalmicer.

    @donnyoexman everything fine now. Thank your for your engagement.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Checkbox does not show up – prev CSS advice not helping’ is closed to new replies.