Before you get started with this tutorial, we would recommend you to go through how to add labels in your posts so that you can understand with a lot more authority.
Display All Labels with Post counts in Blogger:
Some popular sites tend to display all labels on their error or not found pages to provide users a few set of options that they can use to find a relevant topic. However, some sites display them in either sidebar or footer so here’s how you can display all labels with post counts in a form of label cloud:Go to Blogger >> Add a gadget >> Labels >> (Select label cloud in types) and save the widget. Now it depends on you where you would like to place it either in the sidebar or footer.
Now you might see a label cloud on your site after following the above instruction but it may not be as pretty or attractive as you might be looking for so add the following CSS coding in your template just above the skin tag.
/*--- MBL Custom Label Cloud With CSS3 --- */
.Label a {
padding-left: 20px;
background: #000;
padding: 0 20px;
color: #fff!important;
border-radius: 100px;
-moz-border-radius: 100px;
height: 32px;
line-height: 32px;
text-transform: uppercase;
text-decoration: none;
border: none !important;
-webkit-transition: all .3s ease-in-out !important;
t: 30pxt: 30px;
float: left;
margin-left: 5px;
margin-top: 5px;
font-size: 14px;
}
.Label a:hover {
color: #000 !important;
background: #ff0;
}
You can always customize the CSS according to your likings, here’s a demo of what you will see after applying the above code in your template.
Styling Labels in your Posts Meta Information:
The majority of Blogger templates comes with a nicely style post information meta data that displays labels that you have tagged your post with in post editor. However, some old templates don’t have this functionality or if they do they are not attractive anyway, or you may like to style them differently.The very first thing you need to do is to take care of which CSS Class or ID that is been used by your blogger template to display labels. You can use Google Chrome’s inspect element to figure that out. Right click on the label and select “Inspect elements” this will open up a window at the bottom of your screen just as it is shown in the screenshot below:
.meta_categories {
float: left;
margin-bottom: 10px;
text-transform: uppercase;
width: 100%;
font-size: 14px;
}
.meta_categories a {
text-decoration: none;
}
This is the end result of what you will see on your site. However, you can customize it according to your likings.
About the Editorial Team
The Editorial Team of MyBloggerLab consists of a group of Professional Blogger geeks Led by Syed Faizan Ali (Founder of MyBloggerLab).
2 comments
tnx Bro
thanks a lot
Post a Comment
We’re eager to see your comment. However, Please Keep in mind that all comments are moderated manually by our human reviewers according to our comment policy, and all the links are nofollow. Using Keywords in the name field area is forbidden. Let’s enjoy a personal and evocative conversation.