Sunday, September 29, 2013

Pure CSS Elegant Share buttons for Blogger

Share button Blogger
Hey Folks ! After a month without posting and digging the books for my exams I am back with yet another great post on how you can add some cool buttons under every post of your blog.

These buttons are made of pure CSS and look extremely elegant. They have cool hover effect and are very light too. You can add these buttons under every post of your blog and increase the user interaction in your blog. The demo of the same can be seen just below.







After seeing the demo in order to add these buttons under every post follow these steps.

Adding the CSS


First of all we would have to add the CSS and for that so go to Blog Title ? Template ? Edit HTML. Search for the tag ]]></b:skin> Add the below given code just above ]]></b:skin>

@import url(http://weloveiconfonts.com/api/?family=zocial);
/* zocial */
[class*="zocial-"]:before {
  font: 2.5em/2em 'zocial', sans-serif;
  color: white;
  line-height: 2.2;
}

.post-social .facebook {
  background: #3B5998;
}
.post-social .twitter {
  background: #4099FF;
}
.post-social .googleplus {
  background: #db5a3c;
}
.post-social .social {
  float: left;
}
.post-social .zocial-facebook {
  margin: 0 15px;
}
.post-social .zocial-twitter {
  margin: 0 25px;
}
.post-social .zocial-googleplus {
  margin: 0 25px;
}
.post-social li {
  min-width: 180px;
  width: 210px;
  height: 80px;
  cursor: pointer;
  list-style: none;
  text-align: left;
  float: left;
}
.post-social li:hover [class*="zocial-"]:before {
  opacity: 0.5;
  text-align: right;
}
.post-social li:hover iframe {
  opacity: 1;
}
.post-social li iframe {
  margin-top: 30px !important;
  opacity: 0;
  transition: all .3s ease-in-out;
}
.post-social li .fb_ltr {
  margin: 30px 20px !important;
}

Adding the HTML


Now we have to add the HTML.
First go to Blog Title ? Template ? Edit HTML. Press Ctrl + F and search for <data:post.body/> code and paste the below given code just below <data:post.body/>.

NOTE : There maybe more than one <data:post.body/> so make sure that you have selected the right code.

<ul class="post-social">

  <li class="facebook">
      <span class="social zocial-facebook"></span>
    <div class="fb-like" data-send="false" data-layout="button_count" data-width="250" data-show-faces="true"></div>
  </li>
  <li class="twitter">
      <span class="social zocial-twitter"></span>
    <a href="https://twitter.com/share" class="twitter-share-button" data-via="Rushtips">Tweet</a>
  </li>
  <li class="googleplus">
        <span class="social zocial-googleplus"></span>
    <g:plusone size="medium"></g:plusone>
  </li>
</ul>


<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>

<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

After adding the codes save the template.

You are done now. Now you and your visitors can see these awesome and elegant pure CSS share buttons on your blogger blog.

Sunday, September 8, 2013

Sky Blue Blogger Navigation Bar With Social Icons

Navigation bar is very important  part of your website.Because it helps visitors to navigate our website and make easy to  them find relevant content of our site.Therefore we have to use attractive blogger navigation bar for our blogs.Its not very hard job to find attractive blogger navigation bar. Bloggertrix.com provided lot of navigation's bars.Just check Menu Bars under categories.

Using CSS we can design more attractive blogger navigation bars.CSS language is very easy to learn and very flexible.We can apply CSS to any webpages.There have ton of tutorials about CSS languages.You can copy paste any code and modify blogger navigation bar to suit your needs.

Today I'm gonna explain about how to add Sky blue blogger navigation bar with social icons.Pretty huh? Will see how can we do it.Actually i want to say.This blogger navigation bar helps you to add social profiles links as well.However just have a look demo page.You can get a idea about it very well.Let see, how to add this for blogger.

Sky+Blue+Blogger+Navigation+Bar


Some of stylish navigation bars.
           Css Icon Hover Effect Navigation Bar For Blogger
           Css3 Dark Blue Navigation Bar For Blogger
           Css3 Navigation Bar With Google Custom Search Box
           Get All Navigation bars

How to add Sky Blue Blogger Navigation Bar With Social Icons


1. Go to Blogger Dashboard > Template
2. Backup your template
3. Click on Edit HTML
4. Find  ]]></b:skin>   and add below code just above it

/* The CSS Code for the menu starts here bloggertrix.com
#topMenu{border:1px solid #7DF; border-radius:6px; background:#00AAEB; background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhj05Y9IxZ6FUNclWMpjDg2ZtBzCvLCE9T4DDjMCnckX6r1Al4wNgBx7JwenKBJYf2Wf65j1eCE0-8H4PT5S7l1sLiD9zPbz3icgyt6puu9kBuKrBLBgQBBie38e0ANhT1EdcIig0thntk/s1600/bk_topmenu.png) 100% 0 no-repeat,-moz-linear-gradient(top, #00c1fa 0%,#0094dd 100%); /* FF3.6+*/background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhj05Y9IxZ6FUNclWMpjDg2ZtBzCvLCE9T4DDjMCnckX6r1Al4wNgBx7JwenKBJYf2Wf65j1eCE0-8H4PT5S7l1sLiD9zPbz3icgyt6puu9kBuKrBLBgQBBie38e0ANhT1EdcIig0thntk/s1600/bk_topmenu.png) 100% 0 no-repeat,-webkit-gradient(linear,left top,left bottom,color-stop(0%,#00c1fa),color-stop(100%,#0094dd)); /* Chrome,Safari4+*/background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhj05Y9IxZ6FUNclWMpjDg2ZtBzCvLCE9T4DDjMCnckX6r1Al4wNgBx7JwenKBJYf2Wf65j1eCE0-8H4PT5S7l1sLiD9zPbz3icgyt6puu9kBuKrBLBgQBBie38e0ANhT1EdcIig0thntk/s1600/bk_topmenu.png) 100% 0 no-repeat,-webkit-linear-gradient(top, #00c1fa 0%,#0094dd 100%); /* Chrome10+,Safari5.1+*/background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhj05Y9IxZ6FUNclWMpjDg2ZtBzCvLCE9T4DDjMCnckX6r1Al4wNgBx7JwenKBJYf2Wf65j1eCE0-8H4PT5S7l1sLiD9zPbz3icgyt6puu9kBuKrBLBgQBBie38e0ANhT1EdcIig0thntk/s1600/bk_topmenu.png) 100% 0 no-repeat,-o-linear-gradient(top, #00c1fa 0%,#0094dd 100%); /* Opera 11.10+*/background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhj05Y9IxZ6FUNclWMpjDg2ZtBzCvLCE9T4DDjMCnckX6r1Al4wNgBx7JwenKBJYf2Wf65j1eCE0-8H4PT5S7l1sLiD9zPbz3icgyt6puu9kBuKrBLBgQBBie38e0ANhT1EdcIig0thntk/s1600/bk_topmenu.png) 100% 0 no-repeat,-ms-linear-gradient(top, #00c1fa 0%,#0094dd 100%); /* IE10+*/background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhj05Y9IxZ6FUNclWMpjDg2ZtBzCvLCE9T4DDjMCnckX6r1Al4wNgBx7JwenKBJYf2Wf65j1eCE0-8H4PT5S7l1sLiD9zPbz3icgyt6puu9kBuKrBLBgQBBie38e0ANhT1EdcIig0thntk/s1600/bk_topmenu.png) 100% 0 no-repeat,linear-gradient(to bottom, #00c1fa 0%,#0094dd 100%); /* W3C */background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhj05Y9IxZ6FUNclWMpjDg2ZtBzCvLCE9T4DDjMCnckX6r1Al4wNgBx7JwenKBJYf2Wf65j1eCE0-8H4PT5S7l1sLiD9zPbz3icgyt6puu9kBuKrBLBgQBBie38e0ANhT1EdcIig0thntk/s1600/bk_topmenu.png) 100% 0 no-repeat,filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#00c1fa',endColorstr='#0094dd',GradientType=0 ); /* IE6-9 */}
#topMenu ul.sf-menu li{border-right:1px solid #80CFFF}
#topMenu ul.sf-menu li a{color:#CBEBFE; text-shadow:#008FE8 1px 1px}
#topMenu ul.sf-menu li li a{color:#CBEBFE}
#topMenu ul.sf-menu li a:hover{color:#FFF}
#topMenu ul.sf-menu li li{}
#socialIcons li{border-left:1px solid #2BC9FD}
#topMenu{width:960px; height:46px; position:absolute; top:125px; left:0; -webkit-box-shadow:0 6px 6px -6px #999; -moz-box-shadow:0 6px 6px -6px #999; box-shadow:0 6px 6px -6px #999}
#topMenu ul.sf-menu li{float:left; padding:0 15px; font-size:12px;list-style: none;margin-left: -10px;}
#topMenu ul.sf-menu li a{text-decoration:none; text-transform:uppercase; font-weight:bold; padding:4px 0}
#topMenu ul.sf-menu li a:hover{text-shadow:none}
#topMenu ul.sf-menu li li{padding:0; border:none}
#topMenu ul.sf-menu li li a{font-weight:normal; padding:4px 12px}

#socialIcons{position:absolute; right:0;  margin:0 0}
#socialIcons li{float:left; padding:0 10px;list-style: none;}
#socialIcons li a{display:block; text-indent:-9999px; width:24px; height:19px}
#socialIcons li a:hover{background-position:0 -19px}
#socialIcons .twitter{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg11Xm4wzHUyd6aSQiT1FQkBRZNZIwxX537HWEKVIl9yC5KGBhbNJ4kZ34jmEQlfgXTEYRixT7jYxZfp-Mv_YNoLT2ZHyktu9A3rsNwNe1QZ9MizJ7tFSuH-bEbJP7HHwZyRrbZ8OYb3Jg/s1600/ico_twitter.png) 0 0 no-repeat}
#socialIcons .facebook{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjM38uZ5nmBNZlShXgI8ulclmGPzlBiX6vEQnm_nsfcvsgd9QXdWvimGJMaiVHC2E8t4x7zT4qBhJRxsQEZkUXtKdBgeukV_wus3QuMe-50QP9hgcJ50Rik5Jg7eGAaQQcTBTP5Jn0mNGk/s1600/ico_facebook.png) 0 0 no-repeat}
#socialIcons .flickr{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqFJnIaPJXAj8L3WcAPqq1NRORTkLuNfOrccr89APf7-z98Qv38UrlQigvHB84Itk4KDh3OfvdX8AUWEP4qIA5hF1fU43pBG8gTlVE8eBMgWcmpAI_CuoFMJtEr3MDnE9d2-9T1s_4jj0/s1600/ico_flickr.png) 0 0 no-repeat}
#socialIcons .linkedin{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQDnzUV3gl-yx__UKif0SksVoI8jFJvslrqg6lrxoltx7b7Ae4WTmUR50lsWFFxQZdD8Q4B0hGLO4Z-qKuOb6SWL_2VzjVJFzgXH9Eo_F2rWAmBx_LELx7tmrEL6v9Hg4pOL_SXCAIl0I/s1600/ico_linkedin.png) 0 0 no-repeat}
#socialIcons .vimeo{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhx6nC7EaLJVbQpARkxggCkMwpH-ip8CIV_Rd_dUGi7XZNtuXDMBMQwIHEdeFnsk0pc2ATLxL0K4A96D0Cz17OC7RO-b9qScZPgIWwieihERFdhyphenhyphenAvHr4Bpd1LBAtZzb36Xqvf92AAptHE/s1600/ico_vimeo.png) 0 0 no-repeat}
#socialIcons .googleplus{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjt3gWH5jaNEIpHdR-Hz6xTg_Eq_l2R6ldG7AcKim0g7v96DR_H6oF91AVTAVv5xkkM5BIuqOfiksOZ2sbeF0LHYSWEU7xyG-zRGWVnjcmZ3mI6UzTwqdAHfkAGtZazXIjz0nwHYDSKpoE/s1600/ico_google.png) 0 0 no-repeat}
#socialIcons .rss{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhR4rKA-SDNPBjH_jlPrdIH3U4xHKmJgfPHP54hqcxynPwelXPCyIbHqEIHtjw0uQ655rWxNsIjw7exg4BsLGYYyJJTtBNCN2h5vworumVpIKtK_cRG41n__Fwblu0w2xX7dWLSRtYyKK0/s1600/ico_rss.png) 0 0 no-repeat}

5. Go to blogger Layout
6. Click Add Gadget and select 'HTML/Javascript'
7. Paste below code.

<div id="topMenu">
<ul class="sf-menu sf-js-enabled sf-shadow" id="menu-topmenu">
<li><a href="#">Home</a></li>
<li><a href="#">Services</a></li>
<li><a href="#">Portfolio</a></li>
<li><a href="#">Blog</a></li>
<li><a href="http://www.bloggertrix.com/">Contact Us</a></li>
</ul>

<ul id="socialIcons">
<li><a class="twitter tooltip" href="http://www.twitter.com/bloggertrix"  target="_blank">Follow us on Twitter</a></li>
<li><a class="facebook tooltip" href="http://www.facebook.com/bloggertrix" target="_blank">Join us on Facebook</a></li>
<li><a class="linkedin tooltip" href="http://www.linkedin.com/" target="_blank">Join us on LinkedIn</a></li>
<li><a class="googleplus tooltip" href="https://plus.google.com/" target="_blank">Join us on Google+</a></li>
<li><a class="flickr tooltip" href="http://www.flickr.com/" target="_blank">Watch us on Flickr</a></li>
<li><a class="vimeo tooltip" href="https://vimeo.com/" target="_blank">Watch us on Vimeo</a></li>
<li><a class="rss tooltip" href="http://bloggertrix.com/feeds/posts/default"  target="_blank">RSS Feeds</a></li>
</ul>
</div>
Replace # with your links. and social profile as well.

8. Now save your HTML/Javascript'.

You are done. If you have any problem related to this Sky Blue Blogger Navigation Bar. Just leave a comment.I will help to you.