WordPress.org

Ready to get started?Download WordPress

Forums

Comment Form Height? (8 posts)

  1. twilitegxa
    Member
    Posted 2 years ago #

    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!

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    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.

  3. twilitegxa
    Member
    Posted 2 years ago #

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

    Does this help?

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    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.

  5. twilitegxa
    Member
    Posted 2 years ago #

    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

  6. esmi
    Forum Moderator
    Posted 2 years ago #

    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

  7. Vincent
    Member
    Posted 2 years ago #

    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?

  8. Vincent
    Member
    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic