I'm working on a port of a theme to Drupal (first time) using the PHPTemplate engine. I've got everything working, except that the form for commenting stretches over half the page. None of the other forms do this, and there's nothing in my comment/page template that would make this happen. . .is there any way I can define the width of the comment box?

Comments

freyquency’s picture

you could theme

.form-item textarea {}

or

.comments (or equiv.) .form-item textarea {}

if you wanted to be more specific.

within that I would specify a measurement that goes along with other measurements in the theme, eg- pixel, percents, or em.

When having form troubles I tend to specify something like 95%.

Hope that helps.

aanimo’s picture

Thanks a lot! I wasn't sure (this being the first time I've done this stuff) if width or something was coded into Drupal or if there was a specific template I had to edit or something. Quite simple, actually :)

Thanks!

Acert93’s picture

I was having the same issue and this was VERY helpful! Very easy solution--just add it to your CSS file and tada! Thanks :)