Support » Fixing WordPress » change width of contact form 7 subject

  • Resolved wackynation

    (@wackynation)


    <p>Your Name (required)
    [text* your-name 57/] </p>

    I’m trying to make the message box the same size as the others on my contact page making sure it is still a suitable size for mobile phones too view the page http://wackynation.com/get-in-touch/. Can anyone help. The code I’m using is below which apparently has a configuration error.

    <p>Your Email (required)<br />
        [email* your-email 57/] </p>
    
    <p>Subject<br />
        [text your-subject 57/] </p>
    
    <p>Your Message<br />
        [textarea your-message 57/] </p>
    
    <p>Please fill in the answer below to help stop spammers<br />
    [quiz quiz-997 "The Capital of France?|Paris"]
    
    <p>[submit "Send"]</p>
Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello wackynation,

    Try the following code:

    <p>Your Name (required)<br />
        [text* your-name 52] </p>
    
    <p>Your Email (required)<br />
        [email* your-email 52] </p>
    
    <p>Subject<br />
        [text your-subject 52] </p>
    
    <p>Your Message<br />
        [textarea your-message 50x10] </p>
    
    <p>Please fill in the answer below to help stop spammers<br />
    [quiz quiz-997  "The Capital of France?|Paris" 31]
    
    <p>[submit "Send"]</p>

    The message area got bigger but unfortunately the email, name and subject got smaller and the quiz question blanks with any figure inside it. Can anyone else help please

    wackynation you haven’t used the code I gave you correctly, when inspecting the form on your website the first 3 fields and the quiz field sizes are set to 40 (by default perhaps) and not 52, 52, 52 & 31 like I showed you in the above example. If you set the sizes correctly it will look like the following.

    Thanks Tyrone

    I had been playing with it when you looked this morning. The 31 kept making the quiz disappear but I eventually found it needed to be in front of the quiz question and all looking great now. Thanks for your help.

    It’s a pleasure wackynation, have a great day further.
    Please mark this topic as resolved.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.