• Resolved pothound

    (@pothound)


    Hi Everybody
    Want to change the height of the textarea and tried many things:

    CSS does not seem to do anything
    .wpcf7 textarea {min-height: 50px !important;}

    Tried changing it in the form, with all those the texarea just disappears..

    <label>[textarea* your-message placeholder “Your Message*” x2] </label>
    <label>[textarea* your-message placeholder “Your Message*” 40×2] </label>
    <label>[textarea* your-message x2 placeholder “Your Message*”] </label>
    <label>[textarea* your-message 40×2 placeholder “Your Message*”] </label>

    I am grateful for any insights!

Viewing 2 replies - 1 through 2 (of 2 total)
  • ziegel

    (@ziegel)

    Hi @pothound,

    CSS would work… add a class to your fields
    And call the css by the class you placed within the fields.

    
    .form_page_name .inner_fields_class{
       height: 50px;
       min-height: 50px!important;
       }
    

    Note: I think it’s important no space bar would be before the “!important” text
    Note: I have the feeling you still haven’t correctly called the relevant items
    Note: Make sure the css file where you place your new code, is called on the page having the relevant form within it

    Thread Starter pothound

    (@pothound)

    Hey @ziegel thanks for your response. What you suggested did not work either but I found a solution, just used the whole classes now it works.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Height of textarea’ is closed to new replies.