Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-03-10 09:24:22

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

make comment text entry field bigger

Do I have to hack the code to do this?

Cheers, Lee.

Offline

#2 2006-03-10 09:49:01

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: make comment text entry field bigger

Nope. :)

There are two attributes you can pass to the comments_form Txp tag: msgrows (default is 5) and msgcols (default is 25). (They are equivalent to giving the cols and rows attributes to the HTML textarea tag.)

Offline

#3 2006-03-10 10:35:09

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: make comment text entry field bigger

Great stuff. Nice to have you back again.

Offline

#4 2006-03-10 16:25:28

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: make comment text entry field bigger

You can also do this in your CSS:-

#txpCommentInputForm textarea {
width:400px;
height:250px;
}

or whatever dimensions you require.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

Board footer

Powered by FluxBB