[resolved] Comment Reply Form Width (5 posts)

  1. CallUp
    Posted 6 years ago #

    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.

  2. esmi
    Forum Moderator
    Posted 6 years ago #

    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.

  3. CallUp
    Posted 6 years ago #

    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:


  4. CallUp
    Posted 6 years ago #

    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.

  5. CallUp
    Posted 6 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic