ِChange The Design of The Default Tag Cloud in Blogger

Posted by محمد On Monday, August 6, 2012 0 comments
defoult tagcloud in blogger
to show our tags in a cloud we can use a gadget option "Labels" in Blogger, now The Question Is how to change the design of the Default tag cloud , Once you add a gadget in the sidebar, a tag cloud will have a default layout that fits, more or less to the rest of the sidebar. To change the size, text color, separation, etc…. we should add a few lines of CSS in the template,
ok Let's Do it :)

  • Go to blogger.com > Design > Edit HTML and check on the box “Expand Widget Templates“
  • Find this code :
]]></ b: skin>
  • Add The below code Just Above ]]></ b: skin>
    .cloud-label-widget-content {
    font-weight: bold;
    .cloud-label-widget-content span {
    padding: 0 0 0 5px;
    .label-size-1 a {color: #8b8989; font-size: 10px;}
    .label-size-2 a {color: #000000; font-size: 12px;}
    .label-size-3 a {color: #4682b4; font-size: 14px;}
    .label-size-4 a {color: #dccdc; font-size: 15px;}
    .label-size-5 a {color: #6495ed; font-size: 18px;}

Modifications :

  • .cloud-label-widget-content {
    Controls the design of the container of the cloud,
  • .cloud-label-widget-content span {
    Controls the distance between the labels,
  • .label-size
    Here we control the text color and size of each of the labels, according to the five options that the gadget provides.
    In this case we do, is to include the CSS to add between <style type='text/css'> and </ style> and place it right after the label template <body>.


Post a Comment

Facebook Page