0

Nivo slider is one of best slider available on the web.I have shared two versions of nivo slider on helperblogger so far,default theme of nivo slider and nivo slider with ribbon but today I am sharing a customized version of the nivo slider.In this customized version the caption and bullets are customized to make them more beautiful also as always I have kept the installation as easy as possible you have to copy and paste the code.Now lets see how to add it to blogger blog.


Live Slider Demo

How To Add This Slider To Blogger?


  1. Select the images which you want add in slider
  2. Resize them to same size
  3. Upload it and get the URL.
  4. Now go to Blogger Dashboard > Layout
  5. Click on Add a Gadget (below header)
  6. Select HTML/JavaScript
  7. Paste below code inside it,

<style>
#slider {
  position:absolute !important;
  top:50%;
  left:50%;
  width:650px;
  height:350px;
  margin-top:-175px;
  margin-left:-325px;
  -webkit-box-shadow: 0px 0px 5px rgba(0,0,0,.5), 0px 0px 20px rgba(0,0,0,.2);
  -moz-box-shadow: 0px 0px 5px rgba(0,0,0,.5), 0px 0px 20px rgba(0,0,0,.2);
  box-shadow: 0px 0px 5px rgba(0,0,0,.5), 0px 0px 20px rgba(0,0,0,.2);
 }

 .nivoSlider img {
  position:absolute;
  top:0;
  left:0;
  display:none;
 }

 .nivoSlider a {
  border:0;
  display:block;
 }

 .nivo-slice {
  display:block;
  position:absolute;
  z-index:5;
  height:100%;
 }

 .nivo-box {
  display:block;
  position:absolute;
  z-index:5;
 }

 .nivo-caption {
  position:absolute;
  left:75px;
  bottom:29px;
  width:498px;
  padding-top:13px;
  padding-bottom:13px;
  z-index:8;
  border:1px solid #000;
  border-left-color:rgba(0,0,0,.5);
  border-right-color:rgba(0,0,0,.5);
  -webkit-box-shadow: inset 0px 1px 0px rgba(255,255,255,.15), 0px 1px 3px rgba(0,0,0,.7);
  -moz-box-shadow: inset 0px 1px 0px rgba(255,255,255,.15), 0px 1px 3px rgba(0,0,0,.7);
  box-shadow: inset 0px 1px 0px rgba(255,255,255,.15), 0px 1px 3px rgba(0,0,0,.7);
  background: -webkit-linear-gradient(top, rgba(72,73,76,0.9) 0%,rgba(57,58,60,0.9) 50%,rgba(50,51,53,0.9) 51%,rgba(38,39,40,0.9) 100%);
  background: -moz-linear-gradient(top, rgba(72,73,76,0.9) 0%,rgba(57,58,60,0.9) 50%,rgba(50,51,53,0.9) 51%,rgba(38,39,40,0.9) 100%);
  background: -o-linear-gradient(top, rgba(72,73,76,0.9) 0%,rgba(57,58,60,0.9) 50%,rgba(50,51,53,0.9) 51%,rgba(38,39,40,0.9) 100%);
  background: -ms-linear-gradient(top, rgba(72,73,76,0.9) 0%,rgba(57,58,60,0.9) 50%,rgba(50,51,53,0.9) 51%,rgba(38,39,40,0.9) 100%);
  background: linear-gradient(top, rgba(72,73,76,0.9) 0%,rgba(57,58,60,0.9) 50%,rgba(50,51,53,0.9) 51%,rgba(38,39,40,0.9) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e648494c', endColorstr='#e6262728',GradientType=0 );
  -webkit-border-radius:4px;
  -moz-border-radius:4px;
  border-radius:4px;
 }

 .nivo-caption p {
  margin:0;
  font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size:14px;
  font-weight:bold;
  color:#fff;
  text-align:center;
  text-shadow:0px -1px 0px #000;
 }

 .nivo-caption a {
  display:inline !important;
  }

 .nivo-html-caption {
  display:none;
 }

 .nivo-directionNav a {
  position:absolute;
  bottom:30px;
  z-index:9;
  cursor:pointer;
  text-indent:-9999px;
  width:45px;
  height:39px;
  background-image:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKEVNwVlwBndPp31Pl4CDhRY_s2pf3zbBQZK8kBvPy4a88w-0crMAFVCHpo9NwuaVhYw5cxc1KsW23sTRhieqgpth2IVjd5lop8r6GEYC4FWEXYiirIIJEUNbFqecJMAa0W9g4YyTGF-I/s1600/helperblogger.com-arrows.png);
  background-repeat:no-repeat;
}

 .nivo-prevNav {
  left:75px;
  background-position:0 0;
  box-shadow: 1px 0px 0px rgba(255,255,255,.2), 2px 0px 0px rgba(0,0,0,.4);
 }

 .nivo-nextNav {
  right:77px;
  background-position:-45px 0px;
  box-shadow: -1px 0px 0px rgba(255,255,255,.2), -2px 0px 0px rgba(0,0,0,.4);
 }

</style>  

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script src="http://www.code.helperblogger.com/jquery.nivo.slider.js"></script>
<script type="text/javascript">
    $(window).load(function () {
        $('.nivoSlider').nivoSlider({
            effect: 'sliceDown',
            directionNavHide: false,
            captionOpacity: 1,
            controlNav: false
        });
    });
</script>

<div id="slider" class="nivoSlider">
    <img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjda-b9HKUVYFUW3F22_FCjny9ldwGz7XHhhEBhOzRstOuYvZPI2W8htYAuLJMkKghdOMl7ehdhgvHWhm4bvEzxk2TE6Y7tSU7r6p7vWz-yMmwVXPn8qWviilmXvtN1ns8Z7L1KtiP1W_I/s1600/helperblogger.com-5.png"
    alt="Slider Image 1" title="This Is An Example Of A Caption">
    <img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjhdI0GBzA2l4kC-tQ2dzbwHCioCAEpHQTpRBoVlnHMCrodumiySxRNG-EodgotyEGoeMTd49iw1C9HVJFGAn_WJzG2-MVRFBcBqCCEZXnMuWjsBI1OB2f6kAxvk69r5HB1qRAD-Kki98/s1600/helperblogger.com-4.png"
    alt="Slider Image 2" title="You Can Add  Anything Here">
    <img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPmglLQEYM5v9T7zf11B9dIs5TANZFW3SphbbGLGupsjvIyPCSUBZ0V9xPMX1hFoYctUv4sDhqbVsN46MXVmcValm1RpTynD1PIEIDizcDLVQXo6E6XhwSqq5Y45Zp-fmZ8SLjJJE38-o/s1600/helperblogger.com-3.png"
    alt="Slider Image 2" title="Like Image Description">
    <img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtXIP765Tg-fokZ9TY-mHlYxYch_OcpSzArOk15TR8J4oLk6hMXi3SdZ5INn7CjBpbqyLV2ZZKoC2kYgi70StrLdmidSpGuHuGitBHvyc_jozPTARLLTjnCeVYI8rzN1rJV8DhhN8lHjQ/s1600/helperblogger.com-2.png"
    alt="Slider Image 2" title="Image Info">
    <img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbRiVriseDrMjYQ13numHGHUHPHbElQoAadsuo6tAHVsek8fjmfY0ELQpSdeyGYZDdRSWLPIjM6CXHiFI5ZaLCN1lbyc0ozeGUuGRynQ1Qn_q76yWNKwn7wOk5-au0BitONkbQIieCJ1c/s1600/helperblogger.com-1.png"
    alt="Slider Image 2" title="And Other Things">
</div>


     - Slider Width And Height

Adjust the width and height of slider as per your images width and height


     - Image URL

Replace all highlighted image URL's with your own images URL.

     - Image Caption

Here you can add your image caption

     - jQuery Library

If you have already added a jQuery library to your blog then remove the highlighted color.

Finally save your widget and you are done.

I have kept the installation 1 step and as easy as possible.If still you are getting a single problem then feel to ask it to me.I will try to give reply as soon as time allows.The credits for customizations goes to webdesign.tutsplus and helperblogger.

Post a Comment

 
Top