Support » Themes and Templates » Comment Form Height?

  • Where is the file to adjust the comment form in the TwentyEleven theme? I need to make the comment input box itself smaller. Can anyone either tell me where to find the appropriate file to edit or what code I can implement into my CSS that will accomplish my goal? Thanks in advance!

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

    (@esmi)

    Forum Moderator

    Do not edit the Twenty Eleven theme. It is the default WordPress 3.2 theme and having access to an unedited version of the theme is vital when dealing with a range of site issues.

    Create a child theme for your customisations. Once your child theme is active, we should be able to help with the customisation.

    It is created. Sorry, I forgot to mention. http://webdesignsbyliz.com/joeytamer/blog

    Does this help?

    esmi

    (@esmi)

    Forum Moderator

    You should be able to adjust the size of the comment box using CSS. Try adding something like:

    #respond textarea {width:80%;}

    to your child’s stylesheet.

    What about if I wanted to change the labels? In the Twenty Eleven theme, the labels for the users not logged in is pretty large, and takes up most of the screen on a small monitor, like a laptop. Is there a way to make these smaller?

    Or the text fields maybe? I’m not sure which would need to be edited. You can look at the blog page and see what I mean about how large they are. http://webdesignsbyliz.com/joeytamer/blog

    esmi

    (@esmi)

    Forum Moderator

    What about if I wanted to change the labels?

    If you want to change the text size, you can do this via CSS again. I recommend using Firefox with the Firebug add-on for this kind of work.

    If you want to edit the content of those labels, see http://codex.wordpress.org/Function_Reference/comment_form

    Vincent

    (@vincentludenhoffgmailcom)

    Hi,

    I want to resize the comment box as well. I have a TwentyEleven child theme btw. Running WP 3.3.
    I managed to resize the width of the box with this rule:

    #comments {
    width:70%;
    }

    But I can’t seem to adjust the height of the commentbox. Most importantly the height of the textarea. I’ve tried stuff like:

    #respond textarea #comment {
    height:200px;
    }

    And variations. But the height of the comment box seems calculated. And I can’t figure out where or when.

    Any help?

    Vincent

    (@vincentludenhoffgmailcom)

    My question about changing the height of the comment box was resolved in this forum thread: [Twenty Eleven] Adjust comment box size / Height textarea

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Comment Form Height?’ is closed to new replies.