Get 25% Discount For HostGator- $110 OFF! | Series: Become a Pro Blogger!, Create and Sale Ebooks , PDF Editing Ways


Friday, December 25, 2009

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 :>



Respected Readers:
We educate thousands of bloggers a week with our tutorials. To help us go ahead with the same spirit, a small contribution from your side will highly be appreciated.


If you enjoyed this post and wish to be informed whenever a new post is published, then make sure you subscribe to our regular Email Updates!

Thanks for making this possible! Kindly Bookmark and Share it.
Technorati Digg This Stumble Facebook Twitter
Create your own blog!

15 comments:

Comment Page :
ACE OF BASE on 9:56 AM, December 25, 2009 said... #

Very nice mohammed !!

Patrick said... #

Mohammad thank you so much. Worked like 123!

Mohammad Mustafa Ahmedzai on 5:51 PM, December 25, 2009 said... #

I AM GLAD YOU GUYS FOUND IT EASY :>

Lucky Flaush on 1:45 AM, December 26, 2009 said... #

Where are U from my friend? Coz U made me write sincerely...

Lucky Flaush on 1:51 AM, December 26, 2009 said... #

I give you a 950X60 banner over the header.
please provide me a html code or something at lucky_flaush@yahoo.com
You already have on my site one text link and one clichet you provided.
I have about 300 unique visitors daily.
All is free because I like you!

Mohammad Mustafa Ahmedzai on 5:35 PM, December 27, 2009 said... #

@Lucky Flaush

I am sorry for late reply, here are the asnwers,

Friend I am from Afghanistan and I live in Pakistan (Karachi)

For banners and back-links I am extremely thankful for your love and support and all those who did the same. For me your visit, comment and feedback is already an honour and far bigger than a banner :>. Thanks for making my day a memorable one!

Chris Price on 9:18 AM, January 13, 2010 said... #

Is there away to increase the size of the profile picture size? Any help or direction would be greatly appreciated. Thanks in advance.

Mohammad Mustafa Ahmedzai on 3:28 PM, January 13, 2010 said... #

@chris,


Add

height: 30px;
width: 30px;

To

.profile-img {
float: left;
margin: 0 5px 5px 0;
padding: 4px;
border:3px solid #289728;
}

You can play with size which is 30px in this case. Hope that would be helpful :>

Chris Price on 10:24 PM, January 13, 2010 said... #

great. worked. thanks so much. i have enjoyed your site and recommend it to blogspot users all the time.

esyrecipes on 2:35 AM, January 26, 2010 said... #

View my complete profile

My profile not showing this link so any solution for that

Mohammad Mustafa Ahmedzai on 8:56 PM, January 26, 2010 said... #

@Chris Pris

You are always welcome here dear! :>

@esyrecipes

Simply Find and delete this code from your template,

.profile-link {
display:none;
}

It will then certainly appear :>

♫ mary ♪ on 1:05 AM, August 19, 2010 said... #

it doest work for me

lara_nur on 2:02 PM, October 26, 2010 said... #

hi mohammad,

how can i put an image to my profile link widget in blogger?
the problem is my blog have 2 author.default blogger widget will only put a link using my profile name without the picture.

i tried this

img src='MY.PIC.URL' style='border:0px;width:38px;height:42px;'

at the last line of the widget but it doesnt make any sense cause the widget will randomly change the author link location.help me

lara_nur on 2:36 PM, October 26, 2010 said... #

assalamualaikum muhammad,

about my problem as stated in my last post.
i have the profile loop to be locked now.so that my pic will nicely under my profile name.but where am i suppose to put the other author pic code?

help me

here is my blog jiwapuisilara.blogspot.com

Isadora Filipina on 3:15 PM, November 12, 2011 said... #

Thanks for this Mohammad. Could you kindly share how to reduce the font size of the Author Profile content? It would be very much appreciated, thank you.

Confused? Feel free to ask

Your feedback is always appreciated. I will try to reply to your queries as soon as time allows.

Note:
1. To add HTML CODE in comments then please use our HTML Encoder
2. You can always Try the tutorial on our HTML Editor
3. Please do not spam Spam comments will be deleted immediately upon my review.

Regards,
Mohammad

 

Recent Posts

Join Me On Facebook

4907+ Followers

Join The Team!

Licensed Under CC

Recent Comments

Follow Me On Twitter

1954+ Followers

| My Blogger Tricks (MBT) © 2012. All Rights Reserved | Contact | About |