• Resolved fabio.grasso

    (@fabiograsso)


    Dear support,
    I’ve a problem with your plugin: it works fine but I’m unable to show correctly the checkbox in the comment form.

    The code for the checkbox contains:

    <label for="subscribe-reloaded">
    
    But, after page load it change to:

    <label for=”subscribe-reloaded” style=”display: none;”>

    And obviously the “display: none” attribute make the checkbox hidden.

    I’m not an expert in JavaScript, but I’ve tried to understand what happens during the page load using the Chrome debugger.
    I’ve found that the change seems to be made from the script /wp-includes/js/jquery/jquery.js?ver=1.11.2

    But I have no idea on how to solve this strange behaviour. I’ve already disabled all the plugins.

    Do you have any suggestion on what I can check?

    Thanks for your help

    Regards
    Fabio

    https://wordpress.org/plugins/subscribe-to-comments-reloaded/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello @fabio.grasso,

    I have seen this behavior quite often with some themes. Can you enable some of the default thems of wordpress and give it a try? Of course this is only for testing, then you can come back to you selected theme.

    Thread Starter fabio.grasso

    (@fabiograsso)

    Hello Reedyseth,
    you’re right! The issue was caused by the theme.

    I will investigate with theme creator

    Thanks
    Fabio

    you’re right! The issue was caused by the theme.

    I will investigate with theme creator

    To me sounds like the label has some CSS styles that you might overwrite them. Please share the URL of your page so that I can see where is the style being change.

    Regards.!!

    Thread Starter fabio.grasso

    (@fabiograsso)

    Hello Reedyseth,
    I thank you very much for your time and availability. I solved the problem by adding this css:

    .comment-form-subscriptions label {
    display: block! important;
    }

    Now the checkbox is visible.

    Have a nice day
    Fabio

    I thank you very much for your time and availability. I solved the problem by adding this css:

    .comment-form-subscriptions label {
    display: block! important;
    }

    Good catch!

    I have seen some other themes that add the display:none property to the form labels, so I may take notice on this for further settings, like force display of label.

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