How The Change The Width Of The Blogger Comment Form

7:42 PM |

I decided to add another nice blogger comments trick that can improve both the appearance and performance of your comments.The area you write the text of your comments into, known as the comment form is by default very narrow.This is not a big problem, but when you see the comment forms on other blogs they tend to be similar in width to the post area.This makes the form look better and fit well with the layout of a blog and also it's easier to write comments, especially longer comments.

Changing the width of the comments on blogger is very easy and i have it broke into a few steps for you.First lets look at some examples.I have changed the width of the blogger comment form on one of my test blogs and here you can see the before and after screenshots :


Blogger Comments Default Width

Blogger Comments After Width Change

Changing The Width Of Blogger Comments


Step 1. In Your (New Design) Blogger Dashboard Click The Drop Down Menu For Your Blog > Choose Template > Then Edit Html > Now Proceed > Tick The Expand Widget Templates Box  


Step 2. Find the following piece of code in your blogs html :
(Click Ctrl and F for a search bar to find the code):


<iframe allowtransparency='true' class='blogger-iframe-colorize blogger-comment-from-post' frameborder='0' height='410' id='comment-editor' name='comment-editor' src='' width='100%'/>

Note - It may be in your template code more that once, if so change all instances.

Step 3. We now have to change the piece of code i highlighted in red above.

We must change it from Percentage (%) to Pixels (px) and also find a width that suits your template.

The example i showed in the images and test blog is using the minima stretch template and i changed the code :


From - 100%
To600px


So now the code looks like this :
<iframe allowtransparency='true' class='blogger-iframe-colorize blogger-comment-from-post' frameborder='0' height='410' id='comment-editor' name='comment-editor' src='' width='600px'/>

I would recommend first changing the width to 500px, see how it looks and you can go back and make adjustments as required.If your using a custom template you can find the width of your main-wrapper and work with that width.

So that's another nice trick to help your comment area, you can find lots more blogger comment tips here.
 
Gadgets By For Bloggers