• Resolved Dmytro

    (@mfacom)


    Hi Stefano,
    Thank you for this simple and very useful plugin. I have just switched from “Subscribe to Comments Reloaded” to your plugin.
    Could you please help me to get a check box and text in one line?
    By default, the checkbox is in one line and the text “Notify me when new comments are added” is in the next line under the checkbox.

    I also wonder if it is possible to move this check box and text above the “Post Comment” button?

    Here is the screenshot, if needed.

    Thanks.

    https://www.ads-software.com/plugins/comment-notifier/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi Dmytro,

    at my page checkbox and text are on the same line, i think its something to do with your comment plugin, what happens if u write the text shorter??

    Thread Starter Dmytro

    (@mfacom)

    Thanks brokoliweb,
    Shortening doesn’t help. I fixed it by editing style in plugin.php as following:

    function cmnt_comment_form()
    {
        $options = get_option('cmnt');
        if (isset($options['checkbox']))
        {
            echo '<p style="margin-left:-2px; margin-top:-70px"><input style="width: 20px" type="checkbox" value="1" name="subscribe" id="subscribe"';
            if (isset($options['checked']))
            {
                echo ' checked="checked"';
            }
            echo '/>&nbsp;<label style="margin:0; padding:0; position:relative; left:22px; top:-27px; bottom: 30px; font-style: italic;" for="subscribe">' . $options['label'] . '</label></p>';
        }
    }

    It is not the best solution because it has to be redone if the plugin is updates. But it is ok for now.

    Plugin Author Stefano Lissa

    (@satollo)

    The problem probably is in you blog style sheet setting a size to the checkbox input field (even if not visible).

    davidschwartzer

    (@davidschwartzer)

    Dear Stefano:

    I just installed your plug-in and it sounds like I am having the same problem. The message is formatted like this:

    Notify me

    when new

    comments

    are added

    The check box is just to the right and slightly above the line that says Notify me.

    I suspect this has something to do with my theme as I had a similar problem before with another plug-in.

    I would rather not change the php file. Is there some css I can add that will correct this? Also is there a get the checkbox to be at the front of the text (similar to what is below here?

    Thanks for your help.

    Regards,

    David

    Hello,

    I have the same problem as davidschwartzer ??
    My theme is redwood, I don’t know how to have the text on one line :/

    Plugin Author Stefano Lissa

    (@satollo)

    The css to change depends to you theme, you should ask someone to look into it and find a css rule to be added to your site to override the default behavior.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘check box and text in one line’ is closed to new replies.