Customize Author Profile In Blogger

Customize-Author-Profile-In Blogger Thanks to Blogger you can easily customize your templates and widgets fully. While designing the Cute Box template I came across the coding for “Author Profile Widget”. The widget was using official Blogger Styles by default and I thought why not try editing them with our own customized fonts and colors. Fortunately with a simple use of CSS, the entire look was changed to something that may be of interest to most of you. I added some mouse hover effects to Author Profile image and author name and also added a small image of admin that appears when you hover your mouse cursor on it.
Have a look at it first (Remember to hover you mouse on it),

Live Demo


How To Customize Author/Admin Profile Using Simple CSS

To add this effect to your personal profile follow these steps,
  1. Go To Blogger > Layout
  2. Click Add a Page element or Add a gadget
  3. Select Author Profile Widget
  4. Now Go to Edit HTML
  5. Backup your template
  6. Search For ]]></b:skin>
  7. Just above ]]></b:skin> paste this code
.profile-img {
  float: left;
  margin: 0 5px 5px 0;
  padding: 4px;
  border:3px solid #289728;
}
.profile-img:hover {
  border:3px dotted #3B3A3B;
}
.profile-data {
  margin:0 10px 20px 10px;
  padding:0;
  font: bold 10pt "ms sans serif", verdana,Arial;
  color:#289728;
  line-height: 1.6em;
  text-align:left;
  text-transform:lowercase;
}
.profile-data:hover {
  color:#3B3A3B; }
.profile-datablock {
  margin:.5em 0 .5em;
}
.profile-datablock:hover {
  background: transparent url(http://2.bp.blogspot.com/_7wsQzULWIwo/SzPhsxuJBqI/AAAAAAAACnc/eOf-_gWliTk/s320/admin.png) no-repeat bottom right ;
}
.profile-textblock {
  color:#333;
  margin: 0.5em 0;
  line-height: 1.6em;
  padding:5px 0 5px 0;
  border-top:2px solid #289728;
  border-bottom:2px solid #289728;
}
.profile-link {
display:none;
}


     8.    Save your template and Done!
Preview your blog to see your profile standing out!

Customization Guide

Each bolded text in the code above is described below,
(1)  Customize Image Border
border:3px solid #289728;
This code defines the image border width, style and colour in active mode. To change the width change this value –>3px and to change style change solid to dotted, dashed or outset etc. and to change colour of border change  #289728 to a different colour of your choice. Use our Colour Chart
(2)  Customize Image Border Which Appears On Mouse Hover
border:3px dotted #3B3A3B;
This code can be customized in a similar way as for part (1)
(3)  Customize The Author Name
color:#289728;
text-transform:lowercase;
color:#3B3A3B;
To change the colour of Author Name in active mode, change  #289728
To change the colour of Author Name on mouse hover, change  #3B3A3B
To Change all letters to capital then change lowercase to uppercase or if you want to make the first letter of each word capital then change lowercase to capitalize
(4) Customize The Author Introduction Text
color:#333
border-top:2px solid #289728;
  border-bottom:2px solid #289728;

To change the colour of the introduction text change #333
To change the the width, style and colour of the two borders that appear below and above the text then change 2px, solid and #289728 respectively

How to show or hide the link in Author Profile

By default I have removed the link that says “View My Complete Profile”  If you want to show this link then simply delete the following code from the above code,
.profile-link {
display:none;
}
If you want to hide the link then leave the above code as it is.
That’s All!
I hope you will find it easy and interesting. Any question is welcomed :>

No comments:

Post a Comment

www.lochan.in

Popular Posts

Best Blogger Gadgets