• Resolved MartinVillumsen

    (@martinvillumsen)


    Hi there,

    First of all, thanks for a great plugin.

    I’ve noticed that the comment rating label is not shown and that the label (<label for=”wprm-rating”…) has a display: none. I’ve been digging a bit into the code and I can’t figure out where that styling comes from. I could of course just override it but I’m kind of curious where the styling comes from and if it’s a bug?

    I use a custom template but I did try to switch to the original “Simple” template and that seems the have the same issue.

    Is this something you can help with and maybe elaborate on?

    Thanks

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Brecht

    (@brechtvds)

    You mean the one in the comment form? That’s not handled by the recipe template.

    By default this is not hidden, so you must have some custom code somewhere doing this. I noticed all the labels in the comment form are hidden like this, so it’s probably some JavaScript code doing this to any label it finds in that form.

    Did someone do any custom work on your website? Maybe it’s part of your theme? Try switching to a default theme (like Twenty Seventeen) and see if it’s hidden then.

    Brecht

    Plugin Author Brecht

    (@brechtvds)

    You could override that by adding the following CSS on the WP Recipe Maker > Settings > Advanced page, by the way:

    .comment-form-wprm-rating label {
        display: block !important;
    }
    Thread Starter MartinVillumsen

    (@martinvillumsen)

    That explains why I could not find it in your code ??

    I just tried another theme and then the label appeared without the display: none styling, so it seems to be some js in my theme that’s hiding all labels in the comment form.

    Guess I’ll just override the styling for now. Thanks ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Comment rating label is not shown’ is closed to new replies.