Quantcast
Channel: Topic Tag: contact-form | WordPress.org
Viewing all articles
Browse latest Browse all 5998

U1SC on "[Plugin: Contact Form 7] Columns in Contact Form"

$
0
0

CF7 Mark Up

<ol class="singleline">
  <li> <label for="cf7-name">Name *</label> [text cf7-name 15/]</li>
  <li> <label for="cf7-email">Email *</label> [text cf7-email 15/]</li>
<li> <label for="cf7-subject">Subject</label> [text cf7-subject 15/]</li>
</ol>

<p>Message[textarea Message id:Message]</p>

[submit]

CSS

.wpcf7-form .singleline ol {
list-style: none;
margin: 0 0 10px; /* added bottom margin to ordered list */
}

.wpcf7-form .singleline li{
display: inline-block;
margin-right: 10px;
padding-right: 10px;
}

Wordpress 3.9.1
Salient Wordpress Theme 4.5.1


Viewing all articles
Browse latest Browse all 5998

Trending Articles