Okay
  Public Ticket #1770194
Contact Form 7
Closed

Comments

  • Warwick Behrens started the conversation

    Hi,

    Relating to the styling of the contact form 7... your template includes css styles to use in the form:

    <div id="contact-formular">    
                   
        <div class="name-box">[text* your-name placeholder "Full Name"]</div>
                                                                   
        <div class="email-box">[email* your-email placeholder "Email"]</div>  
     
        <div class="message-box">[textarea* your-message placeholder "Your Message"]</div> 
             
        <div class="submit-box">[submit "Submit"]</div>    
     
    </div>

    Is there a list of form elements documented so I can add others and keep the similar styling? I specifically need the "Phone" field... but other would be handy to know.

    Thanks

  •  1,810
    Support replied

    Hi Warwick,

    if CF7 will render the new field as a text field, it will have all the properties (appearance) of the Name field. Otherwise contact us to inspect it and see what CSS styles need to be added to it

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Warwick Behrens replied

    Not completely sure of what you are asking me to do.

    I have two forms on my website:

    1. A main contact form (https://warbehr.com.au/contact-2/)

    2. A contact form used on each portfolio item (https://warbehr.com.au/aruba_portfolio/black-cockatoo-on-mustard/)

    I used code from the website template (see opening ticket comment) which does not include subject or phone number. I have tried to imitate the code used in the form but it does not render as an item on the website - it just shows as text. 

    Or if I use the generic elements available within the form builder (such as a drop field) it shows as an ugly bubble button (see main contact form). 

    I guess what I am seeking is a list of elements that I can use in the contact form (the code for them) and the css for styling them too.

  •  1,810
    Support replied

    Warwick,

    can you resend the wp admin credentials here, in a private comment?

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  •   Warwick Behrens replied privately
  •   Warwick Behrens replied privately
  •   Support replied privately
  • Warwick Behrens replied

    Okay, thanks. 

  •  1,810
    Support replied

    Hello Warwick,

    Follow the definition of Contact Form 1

    I added the styles for telephone and subject lines at the end of customizer -> additional CSS

    Here is the result

    https://warbehr.com.au/contact-2/

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  •   Warwick Behrens replied privately
  •   Support replied privately
  •   Warwick Behrens replied privately