Jump to content
Stef's Coding Community

how do i change the size of a text area in my contactform 7 pugin and add more areas??


Recommended Posts

You can change the size of a textarea by adding cols and size:-

<textarea name="comment" rows="6" cols="40">Type your message here></textarea>

but a more accurate way is to add a class or id and specify sizes in px:-

CSS in stylesheet:-

.textarea { width: 90px; height: 35px; }

HTML markup:-

<textarea class="textarea" name="comment">Type your message here></textarea>

 

To add more areas, just repeat the code (possibly with different classes and styles).

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...