SEO Search

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Saturday, 5 May 2012

How To Change Avatar Size In Blogger Comments

Posted on 16:28 by Unknown
This simple trick will help you to modify the avatars size in Blogger comments. For changing the style and size of avatars, we have to add some CSS codes in our Blogger template. So, let's begin:


Step 1.

Go to Dashboard - Template - click on the Edit HTML button - Proceed


...now select Expand Widget Template (I recommend to make a backup first)

    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/AVvXsEgO0Dma7jg_4uL7hXDGnj-G7ocJbjeJT5YRT4QszZ1Yd6QzrpGWbcebFSrQQTcK4PklYlPKSTEdHFXF0W6oXNNHSjE_AcAt3VgJ9aUkWdLFGvCGzluhoK3icsK_2Ggi2D8yrXIaw4GDIso/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. Hope you enjoy!


    Email ThisBlogThis!Share to XShare to Facebook
    Posted in avatars, Blog Design, Comments, comments tricks, how to | No comments
    Newer Post Older Post Home

    0 comments:

    Post a Comment

    Subscribe to: Post Comments (Atom)

    Popular Posts

    • How to change Blogger "Post A Comment" Message
      In this tutorial i will show you how to replace the 'Post A Comment' text that appears above the comment form with an image. Also, I...
    • CSS Basics. How to Apply Rounded Corners On Images #1
      This tutorial will explain how to change the outside border of any image using some simple CSS rules to make it round, but this is so easy t...
    • Google adsense optimization tips
      What is Google Ad S ense?  Google AdSense is a free program run by Google that allows you to display Google adverts on your blog/website and...
    • CSS Basics. How to Apply Rounded Corners On Images #2
      In the previous post I have mentioned that we will learn to round images using CSS, without needing to edit them one by one using a program...
    • 4 Different Styles For the Popular Posts Widget
      Blogger allows us to easily add a " Popular Posts " widget, that we select from its list of gadgets, and we can do that by going t...
    • Turn off the lights with jQuery
      For those who enjoy watching videos on the net, this is a very useful script made by Janko with jQuery. So what this script does? It will ...
    • How to Replace Older Posts and Newer Posts Links with Blogger Post Titles
      If you have ever visited a WordPress blog, you might have noticed that the blog pager on these blogs displays the actual post titles, not ju...
    • How 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 but for the Blogger platform it isn't always an very easy...
    • Hide/Show Widgets/Gadgets in Home/post/static/archive pages in Blogger
      As some of you may have noticed, all the widgets/gadgets you add to your blog, will be displayed on all the pages by default, including the ...
    • Ways To Increase Page Impressions and Traffic on Your Blog
      What is a Google AdSense "Page Impression"? The page impressions or page views - how much time a user stays on your website and h...

    Categories

    • adsense
    • adsense optimization
    • adsense tips
    • Auto Video Template
    • avatars
    • blockquotes
    • Blog Design
    • blogger
    • blogger posts
    • color code generator
    • Comments
    • comments tricks
    • css
    • emoticons
    • Emoticons/Smileys
    • Facebook
    • feedburner
    • forum
    • Hacks
    • how to
    • how to make a blog
    • Image Effects
    • internet
    • jQuery
    • labels
    • menus
    • Navigation
    • navigation menu
    • popular posts
    • posts
    • read more
    • recent comments
    • recent posts
    • related posts
    • RSS
    • SEO
    • sitemaps
    • slideshows
    • social media
    • social media plugins
    • static pages
    • Templates
    • threaded comments
    • titles
    • tools
    • translating
    • webbligi
    • Widgets

    Blog Archive

    • ►  2013 (57)
      • ►  November (4)
      • ►  October (16)
      • ►  September (13)
      • ►  June (3)
      • ►  May (4)
      • ►  April (5)
      • ►  March (12)
    • ▼  2012 (73)
      • ►  July (1)
      • ►  June (3)
      • ▼  May (9)
        • Add Floating Social Media Sharing Buttons To Blogger
        • Create A Rollover Image Effect (change image on mo...
        • Add Facemoods Emoticons To Your Blogger Comments
        • How to Change Default Anonymous Avatar in Blogger ...
        • How To Change Avatar Size In Blogger Comments
        • How to Hide Blogger Sidebar to Display AdSense For...
        • Show Blogger Image only in Homepage and Hide it in...
        • How to Remove Showing Posts With Label in Blogger
        • Recent Posts Widget with Thumbnails for Blogger/Bl...
      • ►  April (23)
      • ►  March (30)
      • ►  February (7)
    Powered by Blogger.

    About Me

    Unknown
    View my complete profile