Vincent
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Comment Form Height?My question about changing the height of the comment box was resolved in this forum thread: [Twenty Eleven] Adjust comment box size / Height textarea
Forum: Themes and Templates
In reply to: [Twenty Eleven] Adjust comment box size / Height textareaGhee, that simple. :~|
Time to refresh my CSS skills!It does work! Thanks a lot.
In the meantime I found a workaround btw. It’s very dirty, and NOT the right solution! But in wp-includes/comment-template.php is the following function:
function comment_form( $args = array(), $post_id = null ) { ....
It outputs the following line of HTML:
'comment_field' => '<p class="comment-form-comment"><label for="comment">' . _x( 'Comment', 'noun' ) . '</label><textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea></p>',
I’ve managed to adjust the height of the textarea by adjusting rows=”8″ to rows=”4″.
Repeat: this is NOT the way to go! I just mentioned this for the completeness of this topic.
But if you’re wandering where the HTML is, that builds the commentbox (like I was), this is where it’s at. ../wp-includes/comment-template.php
@cmmarslender Thanx again. I wasted a lot of time and energy on a nobreakspace? ??
Forum: Themes and Templates
In reply to: Comment Form Height?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?