WordPress.org

Support

Support » Themes and Templates » Oversized comments form, how do I shrink it?

Oversized comments form, how do I shrink it?

  • Hey,

    I’m working on a heavily customized theme at http://www.resiny.org. The CSS is a little oversized right now, and I’m working on that, but I’m pretty happy with how the site is coming along. So far my biggest problem is that the comments box (where you type in your comment on a post) is stretching to take up a huge chunk of the page (it’s about 700px wide, I’d guess)

    I’ve had this problem before, and I’ve solved it, but now I can’t remember how. Any help you could give with this would be great. Either the CSS element, or whatever else it is that controls this. I’ve gone through the comments template but I can’t fine where it defines the box size.

    thanks

    btw, any feedback on the rest of the design would also be appreciated

Viewing 2 replies - 1 through 2 (of 2 total)
  • justinbaeder
    Member

    @justinbaeder

    This line should be in your comments.php template (I got it by viewing source on your site):
    <p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p>

    Change the cols=”100%” to something reasonable, like cols=”30″, and get rid of the %, as it doesn’t work in IE. That should solve your problem.

    thanks, that worked

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Oversized comments form, how do I shrink it?’ is closed to new replies.