[PATCH] WP MU theme patch for small screens

Darren VanBuren onekopaka at gmail.com
Wed Aug 4 05:00:21 UTC 2010


Comment forms on blogs.fp.o overflow to the right on screens 1024px
wide and smaller.

This patch makes the form fit well on these smaller screens.

diff --git a/themes/wordpress-mu-theme-fedora/comments.php
b/themes/wordpress-mu-theme-fedora/comments.php
index bf02bed..0ad2295 100644
--- a/themes/wordpress-mu-theme-fedora/comments.php
+++ b/themes/wordpress-mu-theme-fedora/comments.php
@@ -60,7 +60,7 @@

 <!--<p><small><strong>XHTML:</strong> <?php printf(__('You can use
these tags: %s'), allowed_tags()); ?></small></p>-->

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

 <p><input name="submit" type="submit" id="submit" tabindex="5"
value="<?php echo attribute_escape(__('Submit Comment')); ?>" />
 <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />


Darren L. VanBuren
=====================
http://theoks.net/


More information about the infrastructure mailing list