• artsyandi

    (@artsyandi)


    I wanted to add a checkbox for people to subscribe to a post’s thread and came across the Subscribe to comments plugin. It seems to be fairly popular.

    I installed it and it seems to be working just fine. However, when you look at my comment forms it looks a bit wonky.

    I would like to have the checkbox on the left, followed by the text (all on one line).

    Does anyone know how I would go about making this change?

Viewing 1 replies (of 1 total)
  • Thread Starter artsyandi

    (@artsyandi)

    I changed the code a bit and got it closer to what I want. An example can be seen on my blog at http://www.andiosiek.com/?p=71

    Basically I want to bump the line of text to be next to the form box rather than below it. The code for displaying this (including the changes I made to get it to this point is):

    <p <?php if ($sg_subscribe->clear_both) echo 'style="clear: both;" '; ?>class="subscribe-to-comments">
    	<input type="checkbox" name="subscribe" id="subscribe" value="subscribe" style="width: auto; float: left; margin-left: 10px; margin-top: 5px;" <?php if ( $checked_status ) echo 'checked="checked" '; ?>/><label style="width:450px; margin-left: 10px; clear: none; " for="subscribe"><?php echo $sg_subscribe->not_subscribed_text; ?></label>
    	</p>

    Does anyone know what should be changed to shift these elements onto the same line?

    Also, what CSS style rule would I use to adjust the style of the form box itself?

Viewing 1 replies (of 1 total)
  • The topic ‘"Subscribe-to-comments" styling…?’ is closed to new replies.