Viewing 4 replies - 1 through 4 (of 4 total)
  • RE: Is there a way to have insert the headings within the text field?

    See https://contactform7.com/setting-placeholder-text/

    RE: Also, is it possible to align a few fields side by side?

    I use Ordered List elements to display multiple fields on single line.

    HTML:

    <ol class="singleline">
    <li> <label for="cf7-phone">Phone</label> [text cf7-phone 15/]</li>
    <li> <label for="cf7-mobile">Mobile</label> [text cf7-mobile 15/]</li>
    </ol>

    Added to Form section of CF7 interface. Labels are added for improved accessability.

    CSS:

    .wpcf7-form .singleline ol {
    list-style: none;
    margin: 0;
    }
    
    .wpcf7-form .singleline li{
    display: inline-block;
    float: left;
    margin-right: 10px;
    padding-right: 10px;
    }

    Add via Child Theme or use custom CSS plugin.

    See Styling Contact Form for a general explanation of styling CF7 forms using CSS.

    There is a link at the bottom of the page to a comprehensive and detailed article on Styling Contact Form 7 Forms. The article shows people, with suitable HTML & CSS skills, how to change the appearance of their Contact Form 7 Forms to meet their particular requirements.

    Thread Starter one9ooh6

    (@one9ooh6)

    This worked thanks so much..the only problem is why does the last field appear shorter than the entire contact form.

    https://337.ae5.myftpupload.com/contact-us/

    Thanks so much for your help.

    404 – Page not found at that link.

    You could consider using Contact Form 7 Skins to style your Contact Form 7 Forms.

    You can now use the add-on CF7 Skins Ready to align a fields side by side

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to insert hint text in text boxes?’ is closed to new replies.