Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By aanimo on
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
textarea
you could theme
or
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.
thanks!
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!
Thanks!
I was having the same issue and this was VERY helpful! Very easy solution--just add it to your CSS file and tada! Thanks :)