HI Shelly,
The CSS rule should’ve been assigned, but it’s not there and width is still set to 100% – it might be caused by some other plugins overriding this. Please try this code as a workaround:
#chimpy_lite_checkbox_signup{
width: 20px !important;
}
If this does not work, then you will have to edit the plugin’s main file, chimpy-lite.php. There is a method – render_checkbox()
which just echoes all html
echo '<p style="margin: 2px 6px 16px 0px;"><label for="chimpy_lite_checkbox_signup"><input type="checkbox" id="chimpy_lite_checkbox_signup" name="chimpy_lite_checkbox_signup" value="1" ' . ($this->opt['chimpy_lite_checkbox_state'] == '1' ? 'checked="checked"' : '') . ' /> ' . $this->opt['chimpy_lite_checkbox_label'] . '</label></p>';
Just add style="width: 20px;"
before value="1"
like this and try again.
echo '<p style="margin: 2px 6px 16px 0px;"><label for="chimpy_lite_checkbox_signup"><input type="checkbox" id="chimpy_lite_checkbox_signup" name="chimpy_lite_checkbox_signup" style="width: 20px;" value="1" ' . ($this->opt['chimpy_lite_checkbox_state'] == '1' ? 'checked="checked"' : '') . ' /> ' . $this->opt['chimpy_lite_checkbox_label'] . '</label></p>';
Hope this fixes the issue.