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

hi everyone :)


as the title suggests......how can i add more areas and change the sizes of them???


anyones help would be fantastic



cheers rusty

Share this post

Link to post
Share on other sites

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).

Share this post

Link to post
Share on other sites

use div tags like <div id="main_content">content goes here</div> and use css to style it. I would suggest going to killersites tutorials and start there.

Share this post

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.

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.


  • Create New...