Friday, November 23, 2012

Multi Color CSS3 Navigation Menu For Blogger Blog

Author: Gagan Masoun
Multi Color CSS3 Navigation Menu For Blogger Blog
We are back with a cool Multi Color Navigation Menu made up of pure CSS with additional effects using CSS3.0 properties such as border-radius, different colors, hover-shadow etc. This multi color menu bar works perfectly on Firefox, Chrome and also Safari. In this tutorial, I'm going to explain, how to add multi color naigation menu in blogger.

I'm sharing 2 different styles light color and dark color. You can check demo first before adding to your blog.

You May Like To Read:
  1. Change Older Post Page Navigation Links On Blogger
  2. The Best Numbered Page Navigation Ever For Blogger
  3. How To Add Numbered Page Navigation For Blogger With CSS Hover Effect

Live Demo

How To Add Multi Color CSS3 Navigation Menu To Blogger Blog

  • Go to Blogger Dashboard > Template, Backup Your Template Before Make Any Changes and Then Click Edit HTML > Proceed
  • Press (Ctrl+F) and Search The Following Code:
  • Paste Below Code Before ]]></b:skin>
/* The CSS Code By */
.cbdb-menu li {
    display: block;
    float: left;
    line-height: 35px;
    margin: 0 5px;}
.cbdb-menu li a {
    /* This generators the gradient on top of the solid color */
    background-image: -webkit-gradient(
        left top,
        left bottom,
        color-stop(0, rgba(255,255,255,.5)),
        color-stop(1, rgba(0,0,0,.1))
    background-image: -moz-linear-gradient(
        center top,
        rgba(255,255,255,.5) 0%,
        rgba(0,0,0,.1) 100%
    color: #f4f4f4; /* IE */
    color: rgba(255, 255, 255, 0.8);
    display: block;    
    font: bold 18px "Myriad Pro","Lucida Grande",Helvetica,Arial,sans-serif;        
    padding: 5px 15px;
    text-decoration: none;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.65);
    -moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.65);
    -webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.65);    }
    .cbdb-menu li a:active {
        background-image: -webkit-gradient(
            left bottom,
            left top,
            color-stop(.85, rgba(0,0,0,.2)),
            color-stop(100, rgba(0,0,0,.4))
        background-image: -moz-linear-gradient(
            center bottom,
            rgba(255,255,255,.5) 0%,
            rgba(255,255,255,.2) 10%,
            rgba(0,0,0,.2) 85%,
            rgba(0,0,0,.4) 100%
/* Dark Text */
.cbdb-menu li a.dark {
    color: #333; /* IE */
    color: rgba(0, 0, 0, 0.8);
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.4);
/*********** COLORS *************/
/* Create your own class for your own colors */
.red {
    background: #B80202;
    border: #B80202 1px solid}
    .red:hover, .red:focus{
.green {
    background: #46c431;
    border: #46c431 1px solid}
    .green:hover,.green:focus {
.yellow {
    background: #D9CE1C;
    border: #D9CE1C 1px solid}
    .yellow:hover,.yellow:focus {
.cyan {
    background: #23c6de;
    border: #23c6de 1px solid}
    .cyan:hover,.cyan:focus {
.blue {
    background: #3271d9;
    border: #3271d9 1px solid}
    .blue:hover,.blue:focus {
  • Go To Blogger Dashboard > Click On Layout
  • Add A Gadget > HTML/Javascript Widget
  • Choose Below Code and Paste In HTML/Javascript Widget

Light Menu Bar Code Here:

Light Menu Bar
<ul class="cbdb-menu">
  <li><a href="#" class="red">Home</a> </li>
  <li><a href="#" class="green">Download</a></li>
  <li><a href="#" class="yellow">Design</a></li>
  <li><a href="#" class="cyan">About Us</a> </li>
  <li><a href="" class="blue">Contact Us</a></li>

 Dark Menu Bar Code Here:

 Dark Menu Bar
<ul class="cbdb-menu">
  <li><a href="#" class="red dark">Home</a> </li>
  <li><a href="#" class="green dark">Download</a></li>
  <li><a href="#" class="yellow dark">Design</a></li>
  <li><a href="#" class="cyan dark">About Us</a> </li>
  <li><a href="" class="blue dark">Contact US</a></li>
  • Save Your Template and You Are All Done! 

I hope you like this widget and if you need my help then ask via comments below. Give your suggestions and reviews also. Happy Blogging and Stay Blessed. :)

Author - Gagan Masoun is the owner of Blogs Daddy Blog.Gagan lives in India, has been blogging since 2010 and writing Blogs Daddy Blog since 2011.You can find him in the usual social networks.


Post a Comment