WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Contact Form 7] a way to add space between groups of checkboxes that are part of the same (2 posts)

  1. can_add
    Member
    Posted 5 years ago #

    Just wondering if there is a way to add some space between groups of checkboxes that are part of the same tag?

    I've tried paragraph tags but it messes the code up

    [checkbox* courses8 "Kidz Boot Camp" "None"
    <p> </p>
    "Acting Boot Camp" "Acting for Film & TV " "Audition Prep" "Model Boot Camp"]

    any insight would be helpful

  2. esmi
    Theme Diva & Forum Moderator
    Posted 5 years ago #

    It can be done but it's a 2 step process.

    1. First amend the checkbox code to <p class="my-checkboxes">[checkbox* courses8 "Kidz Boot Camp" "None" "Acting Boot Camp" "Acting for Film & TV " "Audition Prep" "Model Boot Camp"]</p> then save the form.
    2. Open style.css. At the bottom of this file, add:
      .my-checkboxes input {margin-right:5px;}

    View the form on its final page. If the spacing isn't quite right, post the url here and I'll see if I can tweak the CSS a little more.

Topic Closed

This topic has been closed to new replies.

About this Topic