Support » Fixing WordPress » Comment Reply Form Width

  • Resolved CallUp


    When you click on the reply link to a comment, the javascript produces a new form directly below the comment you’re replying to.

    Is there a way to change the width of that dynamically produced reply form?

    The reason being: my comments are nested, and so as the nested ‘children’ comments continue to get smaller. I’d like the dynamically produced reply forms to get correspondingly smaller in size. At the moment — especially in IE — the nested reply forms are as wide as the original comment form and it’s stretching into sidebar and forcing all the sidebar content to the bottom of the page.

Viewing 4 replies - 1 through 4 (of 4 total)
  • esmi


    Forum Moderator

    Tey adding something like

    textarea {width:95%;}

    to your stylesheet. If that doesn’t work, post a link to your site so people can see the problem.

    Hi esmi,

    Thanks for your response.

    I tried changing from cols to width:95% like you have, and it didn’t change it.

    Funny thing is any changes I make to textarea in CSS seems to be reflected in the original comment reply form, but when you click “reply to specific comment” the text area displayed remains too wide. I’ve looked at the source when the offending text areas were displayed and it still showed width=”95%” but it isn’t displaying that way.

    Here’s my live site so you can see:

    Selecting the “reply to” from the first comment always appears as it should. It’s the “reply to” from nested comments 2, 3, … onward that displays too large of a text area.

    When you reply to a nested comment going five to seven levels deep on IE — that’s when the sidebar drops to the bottom.

    After a lot of searching, I finally solved it. I had some conflicting CSS markup overriding the width of the textarea.

    Thanks emsi for your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Comment Reply Form Width’ is closed to new replies.