blogger widgets
English French German Spain Italian Dutch Russian Portuguese Japanese Korean Arabic Chinese Simplified
google
Home » , , , , , , , , , » How To Change Avatar Size In Blogger Comments

How To Change Avatar Size In Blogger Comments

This simple trick will help you to change the avatars size in Blogger comments. For changing the style and size of avatars, we should add some CSS codes in our Blogger template.


Step 1.

If you are using the old Blogger interface:
  • Go to Dashboard - Design - Edit HTML - Expand Widget Template (make a backup)
If you are using the new Blogger interface:
  • Go to Dashboard - Template - Edit HTML - Proceed - Expand Widget Template (make a backup)

Step 2. Find (CTRL + F) this code in your template:

]]></b:skin>

Step 3. Copy and paste one of the following codes just above it:

[Works in Blogger threaded comment system]

.comments .avatar-image-container{
background-color: rgb(34, 34, 34);
border:1px solid #ccc;
margin: 0px 10px 0px 0px;
padding: 0px 0px 0px 0px;
width: 64px;
max-height: 64px;
}
.comments .avatar-image-container img{
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
max-width: 64px;
height: 64px;
}

[for old blogger commenting system]

.avatar-image-container{
border:1px solid #d6d6d6;
margin-left: -30px;
-moz-border-radius: 4px;
background:#fff;
height:70px;
min-height: 70px;
width:70px;
min-width:70px;
}
.avatar-image-container img {
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgB6uw8exaRW172lfSpSQyLwmW32Vl0u980jkZMYOnWv6mRBO0WpWvZMzOWW1vFYn8Lt23h9C649eyTLoeP6j6yA1DgxxArGKbMznvyVnDaeOK-tmDCQm-oSsX6rOsTmp7JiIAfP9Fp3nM/s200/anonymous.jpg);
background-repeat: no-repeat;
background-position: center;
background-size: 100%;
width:70px;
min-width:70px;
height:70px;
min-height:70px;
}

Note: If you want bigger/smaller avatars, change the values in red. To change the anonymous avatar, replace the URL address in blue with your own. (works only for previous commenting system)

Step 4. Save the Template.

Now view your blog to see the results.
Enjoy!
Share this article :

0 comments:

Post a Comment

     Blogger Tricks

How to Make the Blogger Posts Have a Calendar for the Date inHow to Make the Blogger Posts Have a Calendar for the Date in

It's quite common to see calendar style dates next to some WordPress posts, however for the Blogger platform it wouldn't be an easy task to add it. But who said it's ...

 
Website : Privacy Policy | Site map | Support
Copyright © 2011. Gallery- Templates - All Rights Reserved
Registration links to friends
Contact advertising