Monday, 13 August 2012

0

Add CSS3 Bricks/Box Style Labels To Blogger

  • Monday, 13 August 2012
  • blogger needs


  • In this tutorial we will see how to customize blogger labels with CSS3 and make them bricks or box style.We will apply this hack with using of pure CSS3 and will replace some existing code with new code in your template.These css3 bricks/box labels really attract readers.I am also using these bricks/box style label on this blog,you can see demo at right sidebar of this blog.Now lets see how to apply this hack.

    How To Customize Blogger Labels With CSS3?

    First we have to edit some settings of our label widget.Save your label widget settings as I have set in below image.



    1. Now go to Blogger Dashboard > Template
    2. Download a copy of your template
    3. Click on Edit HTML
    4. Hit Proceed button
    5. Check Expand Widget Templates checkbox
    6. Find below code in your template

    ]]></b:skin>

    add below CSS code just above it,

    /*CSS3 Bricks Style Labels By http://www.blogger-needs.com/ */
    #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
    }
    /*CSS3 Bricks Style Labels By http://www.blogger-needs.com/ */
    

    Now find below code,

    <b:widget id='Label1' locked='false'

    find it until

    </b:widget>

    replace code from <b:widget id='Label1' locked='false'.........
    to
    </b:widget> with below code,

    <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>
        </b:includable>
    </b:widget>

    Now take a preview and save your template.

    Hope you have liked it :)
    Read More
    0

    Customize Blogger Labels With CSS3

  • blogger needs


  • Previously I shared bricks/box style labels for blogger and many of you found it great so that today I am sharing another beautiful CSS3 labels style for blogger.This label hack can be easily applied to your labels by just adding some CSS code in to your blog.This labels and created by Stylifyyourblog and I have reshared them on blogger-needs Blogger,Now lets see how to apply this label hack.

    How To Apply This Label Hack?

    Important -  Before applying this label hack set your label style to Cloud.

    You can also apply this hack by using below one click installer.

    OR

    apply this hack manually by adding below CSS code just above/before ]]></b:skin> tag in your template,

    .label-size {
        float: left;
        margin: 0 0 7px 20px;
        position: relative;
        font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
        font-size: 0.75em;
        font-weight: bold;
        text-decoration: none;
        color: #996633;
        text-shadow: 0px 1px 0px rgba(255,255,255,.4);
        padding: 0.417em 0.417em 0.417em 0.917em;
        border-top: 1px solid #d99d38;
        border-right: 1px solid #d99d38;
        border-bottom: 1px solid #d99d38;
        -webkit-border-radius: 0 0.25em 0.25em 0;
        -moz-border-radius: 0 0.25em 0.25em 0;
        border-radius: 0 0.25em 0.25em 0;
        background-image: -webkit-linear-gradient(top, rgb(254, 218, 113), rgb(254, 186, 71));
        background-image: -moz-linear-gradient(top, rgb(254, 218, 113), rgb(254, 186, 71));
        background-image: -o-linear-gradient(top, rgb(254, 218, 113), rgb(254, 186, 71));
        background-image: -ms-linear-gradient(top, rgb(254, 218, 113), rgb(254, 186, 71));
        background-image: linear-gradient(top, rgb(254, 218, 113), rgb(254, 186, 71));
        filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#feda71', EndColorStr='#feba47');
        -webkit-box-shadow: inset 0 1px 0 #faeaba,
            0 1px 1px rgba(0,0,0,.1);
        -moz-box-shadow: inset 0 1px 0 #faeaba,
            0 1px 1px rgba(0,0,0,.1);
        box-shadow: inset 0 1px 0 #faeaba,
            0 1px 1px rgba(0,0,0,.1);
        z-index: 1;
    }
    
    .label-size:before {
        content: '';
        width: 1.30em;
        height: 1.39em;
        background-image: -webkit-linear-gradient(left top, rgb(254, 218, 113), rgb(254, 186, 71));
        background-image: -moz-linear-gradient(left top, rgb(254, 218, 113), rgb(254, 186, 71));
        background-image: -o-linear-gradient(left top, rgb(254, 218, 113), rgb(254, 186, 71));
        background-image: -ms-linear-gradient(left top, rgb(254, 218, 113), rgb(254, 186, 71));
        background-image: linear-gradient(left top, rgb(254, 218, 113), rgb(254, 186, 71));
        filter: progid:DXImageTransform.Microsoft.gradient(GradientType=1,StartColorStr='#feda71', EndColorStr='#feba47');
        position: absolute;
        left: -0.69em;
        top: .2em;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
        border-left: 1px solid #d99d38;
        border-bottom: 1px solid #d99d38;
        -webkit-border-radius: 0 0 0 0.25em;
        -moz-border-radius: 0 0 0 0.25em;
        border-radius: 0 0 0 0.25em;
        z-index: 1;
    }
    
    .label-size:after {
        content: '';
        width: 0.5em;
        height: 0.5em;
        background: #fff;
        -webkit-border-radius: 4.167em;
        -moz-border-radius: 4.167em;
        border-radius: 4.167em;
        border: 1px solid #d99d38;
        -webkit-box-shadow: 0 1px 0 #faeaba;
        -moz-box-shadow: 0 1px 0 #faeaba;
        box-shadow: 0 1px 0 #faeaba;
        position: absolute;
        top: 0.667em;
        left: -0.083em;
        z-index: 9999;
    }
    
    #Label1 {
        height: 210px;
    }
    
    .label-size:hover {
        background-image: -webkit-linear-gradient(top, rgb(254, 225, 141), rgb(254, 200, 108));
        background-image: -moz-linear-gradient(top, rgb(254, 225, 141), rgb(254, 200, 108));
        background-image: -o-linear-gradient(top, rgb(254, 225, 141), rgb(254, 200, 108));
        background-image: -ms-linear-gradient(top, rgb(254, 225, 141), rgb(254, 200, 108));
        background-image: linear-gradient(top, rgb(254, 225, 141), rgb(254, 200, 108));
        filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#fee18d', EndColorStr='#fec86c');
        border-color: #e1b160;
    }
    
    .label-size:hover:before {
        background-image: -webkit-linear-gradient(left top, rgb(254, 225, 141), rgb(254, 200, 108));
        background-image: -moz-linear-gradient(left top, rgb(254, 225, 141), rgb(254, 200, 108));
        background-image: -o-linear-gradient(left top, rgb(254, 225, 141), rgb(254, 200, 108));
        background-image: -ms-linear-gradient(left top, rgb(254, 225, 141), rgb(254, 200, 108));
        background-image: linear-gradient(left top, rgb(254, 225, 141), rgb(254, 200, 108));
        filter: progid:DXImageTransform.Microsoft.gradient(GradientType=1,StartColorStr='#fee18d', EndColorStr='#fec86c');
        border-color: #e1b160;
    }

    Finally save your template and you are done.

    If you are getting any problem then feel free to ask it to me :)
    Read More

    Wednesday, 8 August 2012

    0

    Add Numbers To Blogger Threaded Comments

  • Wednesday, 8 August 2012
  • blogger needs


  • Today I am sharing a very simple CSS trick which will add numbers to your threaded comments inside a comment bubble.It will add numbers like this way 3,3.a,3.b & 4 here 3,4 are the main comments and 3.a,3.b are the replies,you can see a screenshot below in image.To apply this trick to your threaded comments,you just have to copy and paste some CSS code in your template and you are done.So without waiting anymore lets jump to the tutorial.



    How To Add Numbers To Blogger Threaded Comments?


    1. Go to Blogger Dashboard > Template
    2. Download a copy of your template
    3. Click On Edit HTML
    4. Hit Proceed
    5. Now search for below code,

    ]]></b:skin>

    add below code just above it,

    .comment-thread ol {
        counter-reset: countcomments;
    }
    
    .comment-thread li:before {
        content: counter(countcomments,decimal);
        counter-increment: countcomments;
        float: right;
        font-size: 22px;
        color: #555555;
        padding-left: 10px;
        padding-top: 3px;
        background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibUaHUpwKQvvMo0a3LbhL85JLSo3AnvlZwVyKsqBqfg9ov5Uo9XNB_dzyiDwrYvhCPjkkF3Sk6G28hedrEXv0mJI49bVGp-pqOe86Gdt7FCiFI1m9Hf0FHuvNjm2JlyAFSB_w6bjwAvi97/s1600/comment+bubble2.png) no-repeat;
        margin-top: 7px;
        margin-left: 10px;
        width: 50px;
     /*image-width size*/
        height: 48px;
     /*image-height size*/
    }
    
    .comment-thread ol ol {
        counter-reset: contrebasse;
    }
    
    .comment-thread li li:before {
        content: counter(countcomments,decimal) "." counter(contrebasse,lower-latin);
        counter-increment: contrebasse;
        float: right;
        font-size: 18px;
        color: #666666;
    }

    Now save your template and you are done.

    Customizations


    • Line Number 11 - Edit it to adjust the position of text(number) from left size
    • Line Number 12 - By editing the value you can adjust the position of text(number) inside bubble from top.
    • Line Number 13 - If you want to change the bubble image then simply replace image URL with yours.
    • Line Number 14 - By editing this value you can adjust the position of bubble from top
    • Line Number 15 - Increase or decrease the value as per your requirements

    Below I am sharing some comment bubbles,right click on any bubble,select Copy Image URL and replace it with above comment bubble URL in line number 13.


    how to blog    blogger blogspot    blogspot blogger, how to blog    widget blogger blogspot    blogs, how to blog     blogspot or blogger, how to blog    tutorials, how to    comments, how to, blogspot blogger    new comment, how to blog    blog design, blogger blogger.com                   bubble comment count, bubble blogger posts   blogger comments, comment count    blogger blogspot, blogger comments   blogger bubble comment count   comments in blogger titles    blogger tips, blogger tricks   blogger widgets, bubble comment count    bubble comment count    Bubble Comment Count    Bubble Comment Count, blogger blogspot                                


    I hope you enjoyed this post.If you are facing any king of problem then feel free to share it with us.Credits for this trick and comment bubbles goes to Helplogger if you want to share this trick with your readers then you have to add a link to this blog.
    Read More
    0

    Breadcrumbs Navigation Widget For Blogger

  • blogger needs


  • Breadcrumb navigation helps your readers to track their position on your blog by showing a breadcrumb trail in this way (Home » Label Name » Post Title).This navigation appears just above of the your post title and the links are a trail from the homepage to post title.There is also option for showing the multiple labels in this navigation i.e. if any post have more than one label then it will show all of them.The original breadcrumbs idea is given by the HOCTROand Aneesh of bloggerplugins futher worked on it.

    Add Breadcrumbs Navigation To Blogger

    1. Go to Blogger Dashboard > Template
    2. As always download a copy of your template
    3. Click on Edit HTML
    4. Hit Proceed
    5. Now find below code,

    <b:include data='top' name='status-message'/>

    just above it copy and paste below code,

    <b:include data='posts' name='breadcrumb'/>

    Now find below code (if you find two occurrences of this, then locate the second one)

    <b:includable id='main' var='top'>

    just above it paste below code,

    <!-- Breadcrumb Navigation By http://www.blogger-needs.blogspot.com/ -->
    <b:includable id='breadcrumb' var='posts'>
    <b:if cond='data:blog.homepageUrl != data:blog.url'>
    <b:if cond='data:blog.pageType == "static_page"'>
    <div class='breadcrumbs'>
     <span><a expr:href='data:blog.homepageUrl' rel='tag'>Home</a></span> » <span><data:blog.pagename/></span>
    </div>
    <b:else/>
    <b:if cond='data:blog.pageType == "item"'>
    <!-- breadcrumb for the post page -->
    <b:loop values='data:posts' var='post'>
    <b:if cond='data:post.labels'>
    <div class='breadcrumbs' xmlns:v="http://rdf.data-vocabulary.org/#">
     <span typeof="v:Breadcrumb"><a expr:href='data:blog.homepageUrl' rel="v:url" property="v:title">Home</a></span>
     <b:loop values='data:post.labels' var='label'>
     <b:if cond='data:label.isLast == "true"'>
     » <span typeof="v:Breadcrumb"><a expr:href='data:label.url' rel="v:url" property="v:title"><data:label.name/></a></span>
     </b:if>
     </b:loop>
     » <span><data:post.title/></span>
    </div>
    <b:else/>
    <div class='breadcrumbs'>
     <span><a expr:href='data:blog.homepageUrl' rel='tag'>Home</a></span> » <span>Unlabelled</span> » <span><data:post.title/></span>
    </div>
    </b:if>
    </b:loop>
    <b:else/>
    <b:if cond='data:blog.pageType == "archive"'>
    <!-- breadcrumb for the label archive page and search pages.. -->
    <div class='breadcrumbs'>
     <span><a expr:href='data:blog.homepageUrl'>Home</a></span> » <span>Archives for <data:blog.pagename/></span>
    </div>
    <b:else/>
    <b:if cond='data:blog.pageType == "index"'>
    <div class='breadcrumbs'>
     <b:if cond='data:blog.pageName == ""'>
     <span><a expr:href='data:blog.homepageUrl'>Home</a></span> » <span>All posts</span>
     <b:else/>
     <span><a expr:href='data:blog.homepageUrl'>Home</a></span> » <span>Posts filed under <data:blog.pagename/></span>
     </b:if>
    </div>
    </b:if>
    </b:if>
    </b:if>
    </b:if>
    </b:if>
    </b:includable>
    <!-- Breadcrumb Navigation By http://www.blogger-needs.blogspot.com/ -->

    * This code will only display the last label of the post in the breadcrumb. If you want to display all the labels, then you will have to remove the code in line number 16 and 18.

    Now find below code,

    ]]></b:skin>

    add below CSS code just above it,

    .breadcrumbs {
    background: #F7F7F7;
    float: left;
    border: 1px solid #E6E6E6;
    width: 575px;
    font-size: 11px;
    margin: 10px 10px 10px 10px;
    padding: 5px 10px 5px 10px;
    }

    Now save your changes and you are done.
    Read More
    0

    Fancy CSS3 & jQuery Lavalamp Menu

  • blogger needs






  • I have shared two jQuery menus on so far,first one was Smooth jQuery Drop Down Menu Version 1 and second one was Version 2.This time I am sharing an amazing CSS3 & jQuery lavalamp menu and as mentioned in title it works with CSS3 and jQuery.You can use this menu in 6 colors by just changing a word in the HTML code.This menu is designed by Insidesigns and I have bloggerized it to works perfectly with any blogger blog.Now lets go to the tutorial and see how to add this menu to blogger blog.


    Live Menu Demo


    How To Add This Menu TO Blogger?

    For easy understanding I am dividing the tutorial in three parts & they are as below,
    1. Adding Scripts
    2. Adding  Styles
    3. Adding The Menu

    1. Adding Scripts

    1. Go to Blogger Dashboard > Template
    2. Click on Edit HTML
    3. Hit Proceed
    4. Find below code in your template

    </head>

    add below code just above it,(If you have already added a jQuery library to your blog then delete the highlighted code)

    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
    <script src="http://blogger-needs.googlecode.com/files/lavalamp-menu.js" type="text/javascript"></script>

    2. Adding Styles


    Now find below code,

    ]]></b:skin>


    add below CSS code immediately before it,

    /*LAVALAMP MENU BY http://www.blogger-needs.blogspot.com.com/ START*/
    
    .lavalamp {
        position: relative;
        border: 1px solid #d6d6d6;
        background: #fff;
        padding: 15px;
        -webkit-box-shadow: 0 3px 6px rgba(0,0,0,.25);
     -moz-box-shadow: 0 3px 6px rgba(0,0,0,.25);
        border-radius : 10px;
        -moz-border-radius : 10px;
        -webkit-border-radius : 10px;
        background : -webkit-gradient(linear, left top, left bottom, from(rgb(240,240,240)), to(rgb(204,204,204)));
        background : -moz-gradient(linear, left top, left bottom, from(rgb(240,240,240)), to(rgb(204,204,204)));
     height: 18px;
            font-family: calibri;
    }
    
    .magenta {
     background : rgb(190,64,120);
     background : -webkit-gradient(linear, left top, left bottom, from(rgb(190,64,120)), to(rgb(177,24,91)));
     background : -moz-gradient(linear, left top, left bottom, from(rgb(190,64,120)), to(rgb(177,24,91)));
     border: 1px solid #841144;
     
    }
    
    .cyan {
     background : rgb(64,181,197);
     background : -webkit-gradient(linear, left top, left bottom, from(rgb(64,181,197)), to(rgb(7,165,187)));
     background : -moz-gradient(linear, left top, left bottom, from(rgb(64,181,197)), to(rgb(7,165,187)));
     border: 1px solid #2f8893;
     
    }
    
    .yellow {
     background : rgb(255,199,79);
     background : -webkit-gradient(linear, left top, left bottom, from(rgb(255,199,79)), to(rgb(255,188,43)));
     background : -moz-gradient(linear, left top, left bottom, from(rgb(255,199,79)), to(rgb(255,188,43)));
     border: 1px solid #c08c1f;
     
    }
    
    .orange {
     background : rgb(255,133,64);
     background : -webkit-gradient(linear, left top, left bottom, from(rgb(255,133,64)), to(rgb(255,107,24)));
     background : -moz-gradient(linear, left top, left bottom, from(rgb(255,133,64)), to(rgb(255,107,24)));
     border: 1px solid #c04f11;
     
    }
    
    .dark {
     background : rgb(89,89,89);
     background : -webkit-gradient(linear, left top, left bottom, from(rgb(89,89,89)), to(rgb(54,54,54)));
     background : -moz-gradient(linear, left top, left bottom, from(rgb(89,89,89)), to(rgb(54,54,54)));
     border: 1px solid #272727;
     
    }
    
    .magenta li a , .cyan li a, .yellow li a , .orange li a, .dark li a{
     color: #fff;
     text-shadow: 0 -1px 0 rgba(0,0,0,.40);
     
    }
    
    .lavalamp a {
        text-decoration: none;
        color: #262626;
        line-height: 20px;
    }
    
    .lavalamp ul {
        margin: 0;
        padding: 0;
        z-index: 300;
        position: absolute;
    }
    
    .lavalamp ul li {
        list-style: none;
        float:left;
    
        text-align: center;
        }
    
    .lavalamp ul li a {
        padding: 0 20px;
        text-align: center;
        }
    
    .floatr {
        position: absolute;
        top: 10px;
        z-index: 50;
        width: 70px;
        height: 30px;
        border-radius : 8px;
        -moz-border-radius : 8px;
        -webkit-border-radius : 8px;
        background : rgba(0,0,0,.20);
        -webkit-transition: all .4s ease-in-out;
        -moz-transition: all .4s ease-in-out;
    }
    
    /*LAVALAMP MENU BY http://www.blogger-needs.blogspot.com/ END*/


    Now save your template.

    3. Adding The Menu


    Now come to Page Layout

    • Now come to Page Layout
    • Click on Add a Gadget (Below Header)
    • Choose HTML/JavaScript
    • Copy and paste below code inside it,

    <div class="lavalamp dark">
     <ul>
      <li class="active"><a href="">Home</a></li>
      <li><a href="#">About</a></li>
      <li><a href="#">Blog</a></li>
      <li><a href="#">Services</a></li>
      <li><a href="#">Portfolio</a></li>
      <li><a href="#">Contacts</a></li>
      <li><a href="#">Back to Article</a></li>
      <li><<a href="#">How it Works?</a></li>
     </ul>
     <div class="floatr"></div>
    </div>

    • Replace # with the links
    • Replace Home,About,Blog. etc. with your link text which you want to appear on the menu.
    • If you want to change background color of the menu then replace <div class="lavalamp dark"> with one of the code below.


    <div class="lavalamp">
    <div class="lavalamp magenta">
    <div class="lavalamp cyan">
    <div class="lavalamp yellow">
    <div class="lavalamp orange">
    <div class="lavalamp dark">

    Finally save your widget and you are done.

    I have tried my best to keep this tutorial as easy as possible,if still you are getting any single problem then feel free to share it below via comments,I will try to give reply as soon as time allows.

    Peace and Blessings Buddies :)
    Read More