Support » Fixing WordPress » Resizing Comment Box

  • Resolved tompic823


    I’m having some problems for a while now with the Comments box on my site, If you try to comment on any post, you will see the comment box is too long. It extends into the side bar where some of the text you type is hidden. I have tried editing comments.php as suggested in other forums but nothing works. It’s also probably worth mentioning that I am on the theme Fresh News and that comments can be posted just fine. The issue is simply cosmetic.

    The line found in comments.php for the Comment Box is as follows:

    <p style="padding:5px 0px 10px 0px;"><textarea name="comment" id="comment" style="width:400;" rows="10" tabindex="4"></textarea></p>

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi tompic823,

    There are only a few things that can effect the size of a comment box, firstly it would be colspan on the textarea, but as I can see from the code above this wouldn’t be the case. The other thing would be you theme css file. Have a look in there and see if any thing is being applied to it! If you have developer toolbar for firefox you can press ctrl shift and Y and then click on the comment box and it will tell you what styles are being applied.

    I’m not at my computer at the moment so I can’t check you site so if you have any trouble then I will have a look when I get in later.


    Hi tompic823,

    I have just had a look at your website and the reason why the comment box is to big is because of this line of code in your comments.php

    <p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p>

    You need to remove the cols setting as this is causing it to be to big. You will find this line in your comments.php file most likely.


    Thanks for the suggestions but as you can see from my first post, I don’t have the “cols” in the commentbox line. I used the developer toolbar and it points to styles.css so I’ll take a look and see what I can do. I’ll report back with my finding. Thanks again!

    I checked styles.css but I’m not really sure what I’m looking for.

    Bump. Any help would be greatly appreciated.

    Fixed the error by upgrading my version of the Theme. Thanks Peter!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Resizing Comment Box’ is closed to new replies.