Sponsor

How to Customize Labels Cloud in Blogger

Labels Cloud enables users to use a dynamic menu, and it has become very popular as a website add-on. In this featured trick, Mohammad Mustafa Ahmedza i shows you how to customize labels cloud in Blogger that will turn the random cloud display into blocks.

  1. Go to Blogger Dashboard > Settings > Layouts
  2. Click Add a Gadget > Labels
  3. Select Cloud Display once you’re inside the settings.
  4. Choose to display 25 labels at most because too much would look awkward.
  5. Save widget. Go to Settings > Template
  6. Backup your template.
  7. Click Edit HTML > Proceed then look for:
]]></b:skin>
Paste the code provided below just above the code in no. 6
/*-----Custom Labels Cloud widget by www.MyBloggerTricks.com----*/
.label-size{ 
margin:0 2px 6px 0; 
padding: 3px; 
text-transform: uppercase; 
border: solid 1px #C6C6C6; 
border-radius: 3px; 
float:left; 
text-decoration:none; 
font-size:10px; 
color:#666; 
}

.label-size:hover { 
border:1px solid #6BB5FF; 
text-decoration: none;
-moz-transition: all 0.5s ease-out;  
-o-transition: all 0.5s ease-out;  
-webkit-transition: all 0.5s ease-out;  
-ms-transition: all 0.5s ease-out;  
transition: all 0.5s ease-out; 
-moz-transform: rotate(7deg);  
-o-transform: rotate(7deg);  
-webkit-transform: rotate(7deg);  
-ms-transform: rotate(7deg);  
transform: rotate(7deg);  
filter: progid:DXImageTransform.Microsoft.Matrix( 
 M11=0.9961946980917455, M12=-0.08715574274765817, M21=0.08715574274765817, M22=0.9961946980917455, sizingMethod='auto expand'); 
zoom: 1;  
}

.label-size a  { 
text-transform: uppercase; 
float:left; 
text-decoration: none; 
}
.label-size a:hover  { 
text-decoration: none; 
}
8. Save template
Note: If you want the label boxes to be random sizes, delete font-size:10px; from the code provided above.

1 comments:

 
Top