Add Brick/box Style label/Tags Cloud in Blogger

Brick Style Tags is a Widget which shows your labels of your blog in Bricks Style. This is done by using css, no any image is used in it. Now this tutorial will show you How To Add Brick/box Style label/Tags Cloud in Blogger Using CSS




Bricks style Labels Demo



Live Demo
 

How to Add Bricks style Labels to Blogger

  • Go to Blogger Dashboard 
  • Click on DropDown Menu and select Template
  • Backup your Template before making any changes to your blog
  • Now Click on Edit HTML --> Proceed --> Expand Widget Templates
  • Press Ctrl + F and search the code shown below


]]></b:skin>


  • Copy the code shown below and paste Before/above it


#textwidget {
    color: #666;
    font-size: 0.925em;
    font-style: italic;
    line-height: 1.6em
}

a.tag {
    color: #777;
    font: 9px verdana;
    text-transform: uppercase;
    transition: border-color .218s;
    background: #f4f4f4;
    background: -webkit-gradient(linear, 0% 40%, 0% 70%, from(#F5F5F5), to(#F1F1F1));
    display: inline-block;
    text-shadow: 0 1px 0 #fff;
    -webkit-transition: border-color .218s;
    -moz-transition: border .218s;
    -o-transition: border-color .218s;
    transition: border-color .218s;
    background: #f3f3f3;
    background: -webkit-gradient(linear, 0% 40%, 0% 70%, from(#F5F5F5), to(#F1F1F1));
    background: -moz-linear-gradient(linear, 0% 40%, 0% 70%, from(#F5F5F5), to(#F1F1F1));
    border: solid 1px #ccc;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    margin: 0 4px 4px 0;
    padding: 3px 5px;
    text-decoration: none
}

a.tag:hover {
    color: #333;
    border-color: #999;
    -moz-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2) -webkit-box-shadow:0 2px 5px rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 2px rgba(0,0,0,0.15)
}

a.tag:active {
    color: #000;
    border-color: #444
}

.slides {
    font-size: 85%;
    line-height: 130%;
    overflow: hidden;
    padding: 0;
    margin: 30px 0 10px;
    border-bottom: 1px solid #000}
.mbt-moresubs {background: none repeat scroll 0 0 #EBEBEB;border-style: solid;border-width: 1px;border-color: #fff #ccc #ccc;padding: 3px 8px 3px 3px;text-align: right;font-size: 7px;letter-spacing: 1px;}.mbt-moresubs a {display: inline-block;font-weight: bold;color: #1E598E;text-decoration: none;text-shadow: 1px 1px 1px #fff;}

  • Press Ctrl + F and search the code shown below


<b:section class='sidebar' id='sidebar' preferred='yes'>


  • Copy the code shown below and paste below/after it


<b:widget id='Label1' locked='false' title='Labels Cloud' type='Label'>
    <b:includable id='main'>
        <b:if cond='data:title'>
            <h2>
                <data:title/>
            </h2>
        </b:if>
        <div class='textwidget'>
            <div expr:class='&quot;widget-content &quot; + data:display + &quot;-label-widget-content&quot;'>
                <b:if cond='data:display == &quot;list&quot;'>
                    <ul>
                        <b:loop values='data:labels' var='label'>
                            <li>
                                <b:if cond='data:blog.url == data:label.url'>
                                    <span expr:dir='data:blog.languageDirection'>
                                        <data:label.name/>
                                    </span>
                                    <b:else/>
                                    <a class='tag' expr:dir='data:blog.languageDirection' expr:href='data:label.url'><data:label.name/></a>
                                </b:if>
                                <b:if cond='data:showFreqNumbers'>
                                    <span dir='ltr'>(
                                        <data:label.count/>)</span>
                                </b:if>
                            </li>
                        </b:loop>
                    </ul>
                    <b:else/>
                    <b:loop values='data:labels' var='label'>
                        <span expr:class='&quot;label-size label-size-&quot; + data:label.cssSize'>
                            <b:if cond='data:blog.url == data:label.url'>
                                <span expr:dir='data:blog.languageDirection'>
                                    <data:label.name/>
                                </span>
                                <b:else/>
                                <a class='tag' expr:dir='data:blog.languageDirection' expr:href='data:label.url'><data:label.name/></a>
                            </b:if>
                            <b:if cond='data:showFreqNumbers'>
                                <span class='label-count' dir='ltr'>(
                                    <data:label.count/>)</span>
                            </b:if>
                        </span>
                    </b:loop>
                </b:if>
                <b:include name='quickedit' />
            </div>
        </div>
<div class='mbt-moresubs'>
        <a href='http://www.mybloggertools.org/' rel='nofollow'>Get this</a>
    </div>
    </b:includable>
</b:widget>


  • Now save your template

    Like it? Share it.

    9 comments

    Anonymous
    19 April 2012 at 20:22

    Thanks for your sharing. but i can not add selected labels to my blog. i am using blogger simple template. would you plz help me to add selected labels to my blog. its able to add all labels only now.

    Anonymous
    20 April 2012 at 04:27

    how to add selected labels to my blog. plz help. i can't do it

    20 April 2012 at 04:41 Author

    @AnonymousClick on the edit option on the label section then select your labels you want to display

    4 May 2012 at 11:41

    can you tell me please your subscription box is so useful for me please tell me how do i get this ?

    5 May 2012 at 08:02 Author

    @Bollywood HD PicturesClick Here to install that widget

    9 July 2012 at 08:13

    Hello Admin.
    in my blog http://www.ptmaroct.com when i add this effect,it shows me error.
    help me fast

    9 July 2012 at 12:34 Author

    @Anuj Sharma What type of error

    25 October 2012 at 05:45 Author

    I added this styling to my template, but not showing any style. my site- Free Android App Shop, pls help..

    25 October 2012 at 08:47 Author

    @Sebin Thomas Reinstall it now, i had changed some codes

    Click to Add a New Comment

    • If you're asking a question click on Subscribe By Email link, on the comment form, to be notified of replies.
    • Do NOT add links to the body of your comment as they will not be published.
    • Only the comments posted in ENGLISH will be approved.
    • If you have a problem check first the comments , maybe you will find the solution there.