March 14, 2010
Well, this is interesting. We've already learned to tweak and stylize our Blogger widgets (gadgets), in general. For example adding icon beside sidebar title heading and placing icon or image beside Labels and Links. That's cool. But now, we'll learn how to tweak and style each widget (gadget) differently! Meaning:
► each of your widgets (Labels, Archive, Links, custom widget) can have it's own looks (color, font, borders, images....anything!)
► remember that WIDGET is the same thing as GADGET
Ok, here's the simple example:
I've chosen to differ my widgets a bit, so I changed a the style of Labels, Links, Archive and Picture widget. I choose these widgets just for this example. Remember that you can do this with every other widget too!
There are a few simple steps you'll have to take:
► choose which widget you'd like to style, and identify it in Blogger HTML code
► add some CSS style in the code that will spice up our widget
► don't lose your marbles (be patient and creative)
Choosing and Identifying
Each widget added in Blogger Layout has a unique ID. We will use this ID to apply some style to our widget. So, our job is to dive into the Blogger HTML code, and locate these ID's. Let's go. From your Dashboard, go to:
LAYOUT ► EDIT HTML ► and scroll all the way to the bottom. Because I choose to style my Sidebar widgets (gadgets), I'll look inside of sidebar-wrapper. In my case, the code looks like this:
<div id='sidebar-wrapper'>
<b:section class='sidebar' id='sidebar' preferred='yes'>
<b:widget id='Label1' locked='false' title='Labels' type='Label'/>
<b:widget id='LinkList1' locked='false' title='Links' type='LinkList'/>
<b:widget id='Image1' locked='false' title='My Picture' type='Image'/>
<b:widget id='BlogArchive2' locked='false' title='Blog Archive' type='BlogArchive'/>
</b:section>
</div>
Ok. You can see the ID's of my widgets:<b:section class='sidebar' id='sidebar' preferred='yes'>
<b:widget id='Label1' locked='false' title='Labels' type='Label'/>
<b:widget id='LinkList1' locked='false' title='Links' type='LinkList'/>
<b:widget id='Image1' locked='false' title='My Picture' type='Image'/>
<b:widget id='BlogArchive2' locked='false' title='Blog Archive' type='BlogArchive'/>
</b:section>
</div>
Label widget ID ► Label1
Links widget ID ► LinkList1
Picture widget ID ► Image1
Archive widget ID ► BlogArchive2
Sometimes, if you have a lot of custom widgets, it's hard to guess it's ID. In this case, just remember that their position is the same as they appear in your Blog frontpage. If the Labels widget is in the 1st place, it will be in the 1st place in the code too..
First step is done. Let's move on.
Styling and tweaking
Now, the fun part. To style the widget, you'll have to know a bit of CSS. But don't worry, you can get this in minutes. In previous step , we've learned to identify the ID of our widget. Now, we'll use it. Let's start with customizing the Link List widget. From Blogger Dashboard, we'll go to:
LAYOUT ► EDIT HTML ► and locate this part (for easier searching, use CTRL + F, and type "/head"):
]]></b:skin>
</head>
ABOVE this part, you'll place the CSS style for your custom Link List Widget (gadget), so the whole thing will look like this:</head>
#LinkList1 {
background:#FFF4BF;
padding-left:15px;
font:14px Arial;
border-bottom:2px solid #FFE25F;
}
#LinkList1 h2 {
background: url(http://i40.tinypic.com/wummhj.jpg) no-repeat bottom left;
height:35px;
padding-top:10px;
font-size:0px;
}
#LinkList1 a:link {
color:#5F5F5F;
text-decoration:none;
}
#LinkList1 a:visited {
color:#5F5F5F;
text-decoration:none;
}
#LinkList1 a:hover {
color:$titlecolor;
text-decoration:underline;
}
]]></b:skin>
</head>
]]></b:skin>
</head>
The part in blue is the style for the specific widget box (in this case Link List). You can change background, font style, position, colors, borders of the widget.
Green part is defining only the HEADING of the widget. In my example, I've placed a picture instead of regular text, and with the "font-size:0px" the original heading is hidden. Pretty cool. This way, you can have different heading for each widget in your Blogger template!
In orange, I've defined how my LINK and HOVER colors will look like. I had to do this because the background of my new widget style was blending with original default link color. Now you know that you can use different colors for your links in every widget!
Here is the complete code with Labels and Picture widget (for my example):
View the code here.
#Label1 {
background: #DFF7FF;
padding-left:15px;
font:14px Arial;
border-bottom:2px solid #45B7DF;
}
#Label1 h2 {
background: url(http://i40.tinypic.com/12644z4.jpg) no-repeat bottom left;
height:35px;
padding-top:10px;
margin-bottom:5px;
font-size:0px;
}
#LinkList1 {
background:#FFF4BF;
padding-left:15px;
font:14px Arial;
border-bottom:2px solid #FFE25F;
}
#LinkList1 h2 {
background: url(http://i40.tinypic.com/wummhj.jpg) no-repeat bottom left;
height:35px;
padding-top:10px;
font-size:0px;
}
#LinkList1 a:link {
color:#5F5F5F;
text-decoration:none;
}
#LinkList1 a:visited {
color:#5F5F5F;
text-decoration:none;
}
#LinkList1 a:hover {
color:$titlecolor;
text-decoration:underline;
}
#Image1 {
background:#FFDFFE;
padding-left:15px;
font:14px Arial;
border-bottom:2px solid #FFAFFD;
}
#Image1 h2 {
background: url(http://i44.tinypic.com/qywqog.jpg) no-repeat bottom left;
height:35px;
padding-top:10px;
font-size:0px;
}
#Image1 img {
border-width:0px;
padding-left:25px;
}
]]></b:skin>
</head>
background: #DFF7FF;
padding-left:15px;
font:14px Arial;
border-bottom:2px solid #45B7DF;
}
#Label1 h2 {
background: url(http://i40.tinypic.com/12644z4.jpg) no-repeat bottom left;
height:35px;
padding-top:10px;
margin-bottom:5px;
font-size:0px;
}
#LinkList1 {
background:#FFF4BF;
padding-left:15px;
font:14px Arial;
border-bottom:2px solid #FFE25F;
}
#LinkList1 h2 {
background: url(http://i40.tinypic.com/wummhj.jpg) no-repeat bottom left;
height:35px;
padding-top:10px;
font-size:0px;
}
#LinkList1 a:link {
color:#5F5F5F;
text-decoration:none;
}
#LinkList1 a:visited {
color:#5F5F5F;
text-decoration:none;
}
#LinkList1 a:hover {
color:$titlecolor;
text-decoration:underline;
}
#Image1 {
background:#FFDFFE;
padding-left:15px;
font:14px Arial;
border-bottom:2px solid #FFAFFD;
}
#Image1 h2 {
background: url(http://i44.tinypic.com/qywqog.jpg) no-repeat bottom left;
height:35px;
padding-top:10px;
font-size:0px;
}
#Image1 img {
border-width:0px;
padding-left:25px;
}
]]></b:skin>
</head>
Ok, I think you've got it. Remember, this was just an example. You can do a lot more. The only important thing is to remember that you have to IDENTIFY your widget, and STYLE it through your Blogger code.
A little patience and a few cookies, and you're there.....
Smile!

















120 comments:
Pocket, you're back! Hooray! We missed you. :)
Another Rocking post Pocket
we missed you a lot :)
can can u make a Tutorial for customizing comments with avatar.
@Dhawal
Do you want to customize comments with CSS avatar? I have a trick and tutorial for it. Just go ahead:
http://hacktutors.blogspot.com/2009/12/arrange-your-comments-avatar-with-css.html
Hopeit will help you :) Thanks!
Hey everybody...
Yup. I'm here again. Somewhere. And will stay.
Thanks for support...
Smile!
Long time, Pocket. Hope all is well.
Umm....pocket, I can't see pager link on your blog in my firefox browser. I think it is a firefox bug. But, I have already solved it. Days before my blog has same problem. Exactly, solved it. See the trick in my blog or you can contact with me.
Thanks!
Forget to say:
Pocket,
How do you customize this comments in separate ways? I can see your all comments are in the bubbles. Is there any idea?
Anup,
I removed my pager links....On purpose.
About the comments. I'll explain in the tutorial.
Smile!
Hi Pocket!
Many many thanks again for this Tutorial! I'll try to Change the Widget Tomorrow...
All the Best
stephie (o;
Hey!! I was wondering where you've been!! Glad you are well and back in the swing of things!!
Tiffany from www.TiffanysGarden.com Thanks for all your help!!
Welcome back pocket. I am really missing you. Thanks for this nice tutorial.
It's great i love love your site!
also encourage me for my blogs,
http://ibloglab.blogspot.com
http://itechnolab.blogspot.com
Hey, you're back!
Hi Pocket,
many thanks again... I just tried it out too put individual images above every post and everything worked fantastic!
Many thanks again!
Thanks for sharing. thats a cool one
Love this! One question...I have two gadgets that I would like to hide on my static pages, is there a way to do that?
BTW, I found my answer. Yay!
Hi Pocket... Hope you remember be :) Its been a year you posted and I really remember those days, when I just started blogging and your blog really helped me a lot learning designing... Looking forward for more of your articles... :)
Btw, we have bought a domain www.intechgrity.com and have designed it from scratch :) Plz do tell me how u like the design and give ur precious suggestions :)
Hello there,
Thank you for all the great stuff. I have a little problem though with my linklist customization. It was working perfectly until a few hours ago. I didn't change anything on the code but I've noticed thet my navbar frame, quick edit links and atomsubscribe appeared although I had them hidden with codes.In addition my linklist customization stopped working as well!! Has this something to do with Blogger???
Just found out that this doesn't work only in Mozzila. Can we fix that please?
Hi Pocket. I liked all the articles you have. especially with the Quick response(feels like on your forum). I have a problem with the sidebar which I wanted my side bar and post body have same height as you have. I've visited several blogs related to my sidebar. delighted if you could help ...smile !! before you give me smile too
Num entendi nada pow,tava tentando aki,li essa post sua mais num entendi nada...
Thanks for the awesome tip! I like it
nice to meet you...
great blog...
salam bandung blogger!!! huehueheuheuhue :P
Hello Pocket, I'm Annalisa and I'm writing from Italy. I need a bit of help: I like so much the grey template here http://pocket-number13c.blogspot.com/. But I'd like remove the third column right for my personal blog so I can enlarge the body post. Is that possible? and How I can made it?
Thank you for courtesy.
Hey Annalisa...
No problem. Just Email me on this address:
pocket.ideas AT gmail.com
I'll send you the file as soon as I can....
Smile!
Hey everybody...nice thanks wating for ur new post....
thxxxxxxxx
ya´tá giro xD
i've just used this new template. but when i write new posting actually in the tittle place. it've been changed into hindi. i'm Idonesian.
tell me what happen with it.
can't work properly in html id widget
I can't find the part of the code in my new layout, blogger gave us :)
i cant get it properly
Pocket you're back!!! Nice to see you again :D
I want to make my homepage link non clickable on homepage at my blog http://www.taxbharat.org
kindly help.
thanks nice topic
Hey Pocket..
I'm just starting out with designing my new blog on your blog is really helping me out.
anyway, I'm trying to put a picture instead of the widget header - like you showed here but I can't.
In some of the widgets it adds a wierd black line and in others it doesn't show the picture.
the code I used:
#Profile1 {
padding: 0 0 10px 15px;
}
#Profile1 h2 {
background: url(http://i847.photobucket.com/albums/ab36/wtw-tv/profile-head.jpg) no-repeat bottom left;
height:28px;
padding-top:10px;
font-size:0px;
}
#Label1 {
padding: 0 10px 10px 20px;
}
#Label1 h2 {
background: url(http://s847.photobucket.com/albums/ab36/wtw-tv/?action=view¤t=labels-head.jpg) no-repeat bottom left;
height:28px;
padding-top:10px;
font-size:0px;
}
My Blog:
http://wtw-tv.blogspot.com/
I would appreciate anyones help.
Thanks.. :)
I'm just leaving this comment to tell you how gratefull I am, I think I used all your tutorials to re-invente my blog, even though my english is not fluent it was easy to understand so thank you so much for such a great work.
http://the-liquor-store.blogspot.com/
ps: I am smiling :D
Are you always vexed about wearing what kind of dress at a banquet?
Herve Leger bandage dress online store eliminates your worries.
kindly, tell me where I shud place code of a widget so that it shows up on the sidebar. Kayhill_88@yahoo.com
Thanks for the amazing info. I am back in your blog:)
Regards,
HackTutors
Cool!!~~
I love your blog..~
Anyway, thank you so0ooooo much!~ :)
How do I resize the header itself?
I'd like to shorten the header's size
(it's height), it's too tall and takes up too much room on the top of the page.
I'm using the "Simple" template.
Thanks So Much!
thank q for shared
http://jualanterkini.blogspot.com
I don't know where I can post this question but I'm sure others have the same too.
How do you link: http://www.blogbulk.com/search/label/XML%20Blogger%20Templates
to the tab on top. I tried to do the same but it doesn't work.
The tabs on top of my page are 'Home' 'Posts RSS' 'Comments RSS'. When I change it I get a error message.
Just what i needed!Thanks for sharing :)
Thanks for the amazing info. I am back in your blog:
http://yenimoda.blogspot.com/
Just what I was looking for, forgot how to do it...thankfully there is wizards like u in this world to make it easy for me :)
great sharing for making a good landing pages and it will boost very well thinks so
I hope someone could help mi on my blog.
It doesn't work no matter how many times I'm trying.
Not even this, It couldn't work when I'm trying to add a icon beside my sidebar title, add picture on my sidebar and lots! help!
here's my blog
hanachuki-babe.blogspot.com
i would love to follow your guides if given ample time. . .have been busy in school. oh by the way i have included your site in my favorite site at my blog. . . here's my blog Eagle eyes I have also an on-going campaign in making a better world for the disabled persons. . i hope, you and everyone's gonna support it. .
Excellent will see if I can incorporate it.
thanks for sharing
gracias :=)
Mujer nalgona
Thanks Pocket, your information really works....
Arvind.
visit my blog please, your can read my poems and short stories by translations
http://arvindjangid.blogspot.com/
Thanks again.
Your blog is THE BOMB!!! I've been creeping to your blog for over three months now and finally decided to follow you because of the simple fact that your tips GOT ME OVER 100 FOLLOWERS IN A MONTH! JUST BY LOOK ALONE! Looks do matter, when it comes to blogs anyway ;)
You should so keep it up! Plus, if you made videos too that would help us all even more. Your blog is perfect already!!
ImgsFree : thanks :)
Genious. Yours was the first blog for "bloggers" I've encountered... and after a couple of months here I am again. Thanks so much!
That's Cool.. I've tried it.. you can see at http://music-and-lesson-center.blogspot.com/...
ehehehe.. thanks for it..
pocket...how to make round widget 4 all corner...and how to make the background title widget is different withe the background of widget content,..ttq
its works for me, thanks friend
http://www.bloggertrix.com/
I used the 'page elements' to 'add a gadget' selected 'picture' and chose a file to upload. The image is huge and needs to be re-sized. Ive identified it as "widget id='Image1'" I then changed the HTML to read
#Image1 { height:50px; }
just before the b : skin line as directed
It seems to make the entire page behave as if there were a widget with a height of 50px as there is less space being taken up by this widget now, However, the image remains Huge but merely is behind other page elements (except for the top 50px of the image)
Any idea? again Im looking to shrink this huge image, maybe height:50px is not the code I need? Btw I realize 50px is ridiculously small I just chose that for now until I get something to respond.
Thanks for any help,
Zalxder
Zalxder,
you've done good, but I suggest to format your pic on your comp using some software, or do this online (there are lots of free tools), and then upload it into your widget...
Just check the width of the sidebar in your code..
Smile!
pocket,
Oi, well its easy to do that, but I don't get this CSS, Back with html it would have been easy to change the size on the page yet keep the high resolution of the file encase some one wanted to save it.
thanks for your great tutorials - some of which I have applied such as putting each post in it's own box - however, I have a complicated (I think!) sidebar arrangement, and tried the above on one widget, but it didn't work. can you help? there are actually 2 side bars, one under the other, I want to separate each widget from sidebar1 to be in it's on box of that colour and everything from sidebar2 to be in a separate box of it's own colour.
I'd appreciate any help you can give - thanks!
Rachel
Love you great tips, i am trying now.
Awesome!! Thanks for your help!
good job, i'll use to my blog
All cliches in one move!Thanks for this wealth of resources!
Brother HL 1430 driver
Thank you for sharing with good, helpful, useful info. If you are seeking for cheap insurance quotes, it must to know that when you get cheap home insurance, you save much more on rates from home insurers.
Thank you for great links. It was easy to read, but I'd like to add that if your company needs to be updated try windows mobile development.
Thank you for your analysis and sharing, from your article I learned more.NFL Adjustable Hats
Link Exchange is excellent way to boost your traffic.
If you want to get some extra backlinks link exchange is a great way to do so.
Submit your website now and Increase your website traffic and Also Get Free Traffic stats in details
http://webstats.apnipie.com/
WOW UR BACK pocket
cool pocket you are back
Thanks for providing such a useful information about Widget.
I admire the valuable information you offer in your articles. I will bookmark your blog and have my friends check up here often. I am quite sure they will learn lots of new stuff here than anybody else!
People don't leave because things are hard. People do leave because it's no longer worth it.
__________________________________________
Tera Items
cheapest wow gold
Tera Gold
Cheap Tera Gold
Runescape Gold
lotro gold
Would love to constantly get updated outstanding blog ! .
Dubai Auditors
iyi bir iş, benim blog için kullanacağız
You got some guts on this topic. Actually I appreiciate your point of view in this regard. Though, I am not completely convinced with this idea. compatible toner
Super helpful. Thanks a lot :)
This is my second visit to this blog. We are starting a new initiative in the same niche as this blog. Your blog provided us with valuable information to work on. You have done a fantastic job.
rak offshore
awesome post thx it really works for my link widgets but getting this keepwidget or delete widgets
Looking for writing services reviews? Consider Best Writing Services company and choose the expert services.
Buy Garcinia Cambogia
Delightfull post, this will be more helpfull to those who are interesting in this field and want to increase there knowledge by reading blogs and articles.
Green Coffee Bean Extracts
Its really nice to read about this topic. Your way of explaining things is really nice and I am going to bookmark this page. hp toner cartridge
This post is a great resource! Styling widgets to match the theme of your site is definitely a must.
I'm sure a lot of bloggers out there will appreciate the helpful info shared here.
This is a great resource…thanks for sharing.
Dubai auditors
Hizmetler yorum yazmak için mi arıyorsunuz? En Yazma Hizmetler şirket düşünün ve uzman hizmetleri seçin.
Siz bu konu hakkında bazı cesaretli. Aslında ben bu konuda sizin bakış appreiciate. Olsa da, ben tamamen bu fikir ile ikna olmuş değilim
wery nice tahnks like it page
wery good like
Wery nice i like thanks
Wonderful, what a blog it is! This webpage provides useful data to us, keep it up.
homecare
Thanks for the great share, it is wonderful too.
http://www.rank-rockers.com/
As we know this is awesome place to cover our thoughts in the best way, great post.
get facebook likes
Great to share this blog with this content, exactly what i have searched for, http://www.linkedin.com/groups/Buy-Facebook-Likes-Fans-Cheap-4860812
You can do a lot more. The only important thing is to remember that you have to IDENTIFY your widget, and STYLE it through your Blogger code.seo company
Really very helpful and informative too.
home care
For many babies, fever might be the only symptom of a urinary tract infection
noticed by parents or caregivers. According to Healthy
Children, a young child with a high fever and no other symptoms has a
1 in 20 chance of having a UTI. While fever might be present in some cases of mild UTI infection, it is typically associated with moderate to severe infections, including kidney involvement.
Because of this, an infant with unexplained fever needs to be examined by a pediatrician as soon as
possible to rule out the possibility of a UTI.
Feel free to surf to my webpage: why cant i get pregnant
bu konu büyük bir kaynaktır! Sitenizin tema maç için widget Styling kesinlikle şarttır. Ben orada blogcular bir sürü burada paylaşılan yararlı bilgi takdir edecektir eminim.
Tesekkürler
wery nice
I loved as much as you'll receive carried out right here. The sketch is attractive, your authored material stylish. nonetheless, you command get bought an edginess over that you wish be delivering the following. unwell unquestionably come further formerly again since exactly the same nearly a lot often inside case you shield this hike.
my web page ... miscrits cheat
Teşekkürler
Hmm it seems like your blog ate my first comment (it was super long) so I guess I'll just sum it up what I had written and say, I'm thoroughly enjoying your blog.
I as well am an aspiring blog writer but I'm still new to the whole thing. Do you have any helpful hints for inexperienced blog writers? I'd definitely appreciate
it.
Review my website: Play Online Games for Cash
Very informative and trustworthy blog. Please keep updating with great posts like this one.
cinsel sohbet
I have booked marked your site and am about to email it to a few friends of mine that I know would enjoy reading
çet sohbet
Thanks for your explanation was very good effort, while health information in your hand
sohbetci
Tesekkürler
Wery Nice
Tesekkürler
mercy
En güzel en uygun oteller burada
tskler
I don't even know the way I stopped up here, but I thought this publish was good. I don't know who you are but definitely you're going to a well-known blogger if you happen to are not already. Cheers!
Here is my webpage ar500 steel targets
how can i customize the h3 and h4 tags used in the widget? I don’t want it to follow the rest of my sites styles for h3/h4. I tried .twtr-hd h3 but that doesn't seem to do the trick!!
Sitenizin tema maç için widget Styling kesinlikle şarttır. Ben orada blogcular bir sürü burada buy youtube views
thank u for share kurumsal website, web sitesi, led tabela, toptan şapka, elektronik sigara, düğün şarkıları, playstation tamiri, toner dolumu, kartuş dolumu, ucuz tenis dersi, özel tenis dersi, eczane sitesi, ev aletler
Awesome article! I want people to know just how good this information is in your article. It’s interesting, compelling content. Your views are much like my own concerning this subject.
Its always good to learn tips like you share for blog posting. As I just started posting comments for blog and facing problem of lots of rejections. I think your suggestion would be helpful for me. I will let you know if its work for me too.
I am Mariam used every single spell worker on the internet, spent untold amounts of money and discovered they are all fakes...i was the fool though; doing the same thing over and over again and expecting different results. In the end, I decided that I wanted a tarot reading to know what my future held for me; I contacted a woman who lives locally to me and she told me about a man named (Priests Irumole); he does not advertise on the internet, has another job for income, has no set prices, makes no false promises and refuses to help anyone that cannot be helped and even helps
for free sometimes, he will give you proof before taking money. He is a wonderful man and he was the only person who actually gave me real results. I really hope he doesn't mind me advertising his contact on the internet but I'm sure any help/ extra work will benefit him.contact him as spirituallighthealing101@live.com He travel sometimes.i cant give out his number cos he told me he don’t want to be disturbed by many people across the world..he said his email is okay and he’ will replied to any emails asap,love marriage,finance, job promotion ,lottery Voodoo,poker voodoo,golf Voodoo,Law & Court case Spells,money voodoo,weigh loss voodoo,any sicknesses voodoo,Trouble in marriage,HIV AIDS,it's all he does Hope this helps everyone that is in a desperate situation as I once was; I know how it feels to hold onto something and never have a chance to move on because of the false promises and then to feel trapped in wanting something
more.
Useful info. Lucky me I found your site accidentally, and
I'm shocked why this coincidence didn't happened in advance!
I bookmarked it.
Here is my homepage: Psn Code Generator
Say it...