WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Contact Form 7] Suggestion for checkboxes

[Plugin: Contact Form 7] Suggestion for checkboxes

  • I am using this plugin and find that the checkboxes are lined up horizontally, which doesn’t look so good. I don’t see a way to fix this within the plugin options page, so I hacked the source code. Here’s what I did, in case anyone else is interested:

    In the contact-form-7/modules/checkbox.php file I changed

    $item .= ' <span class="wpcf7-list-item-label">' . esc_html( $label ) . '</span>';

    to

    $item .= '<span class="wpcf7-list-item-label">' . esc_html( $label ) . '</span><br />';

    All of the checkboxes in the setup (label first, wrap each item, etc) must be left unchecked.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Contact Form 7] Suggestion for checkboxes’ is closed to new replies.