Lighten Your Life

Examine each corner of your life and lighten in. Let the light in every way you can. Clear space, both physically, mentally, emotionally and spiritually to run with the flow of spring. This way, when an opportunity appears you will have the light space and the clarity to know exactly what to do with it. And do remember keep smiling ever ........

Flowers and Butterflies

“He said that we belonged together because he was born with a flower and I was born with a butterfly and that flowers and butterflies need each other for survival.”

Love and Flower

Love is like a beautiful flower which I may not touch, but whose fragrance makes the garden a place of delight just the same.

Feelings of Flowe

Perfumes are the feelings of flowers

Flowers and Fear

“Flowers and fear are a lot alike. For one, flowers and fear have a distinct smell, and two, I’m currently trying to grow both in my garden.”

Showing posts with label BLOGGER Tricks. Show all posts
Showing posts with label BLOGGER Tricks. Show all posts

Monday, 5 November 2012

How To Creat A drop down menu in Blogger


http://streetslite.blogspot.com/


Drop down menu Like my blogger Click to see 

http://streetslite.blogspot.com/


STEP 1:       Sign in Your Blogger Account
                     Go To " Dashboard "
                     Click on " Design "
                     Click on add Gadget
Select a HTML/JavaScript Widget just under the header and paste the following code inside it, the html code is :


 <div id='mbtnavbar'>
          <ul id='mbtnav'>
            <li>
              <a href='#'>Home</a>
            </li>
            <li>
              <a href='#'>About</a>
           </li>
            <li>
              <a href='#'>Contact</a>
            </li>
      <li>
               <a href='#'>Sitemap</a>

                <ul>
                    <li><a href='#'>Sub Page #1</a></li>
                    <li><a href='#'>Sub Page #2</a></li>
                    <li><a href='#'>Sub Page #3</a></li>
                  </ul>
            </li>

          </ul>
        </div>

& click Save & place it where you want to show drop down menu.


STEP 2 :        

Click on " Edit Html " Tab in blogger
NOW find the Code given Blow

    ]]></b:skin>    

After Finding above Code Just above it paste the code given below

/*----- MBT Drop Down Menu ----*/

#mbtnavbar {
    background: #060505;
    width: 960px;
    color: #FFF;
        margin: 0px;
        padding: 0;
        position: relative;
        border-top:0px solid #960100;
        height:35px;
}

#mbtnav {
    margin: 0;
    padding: 0;
}
#mbtnav ul {
    float: left;
    list-style: none;
    margin: 0;
    padding: 0;
}
#mbtnav li {
    list-style: none;
    margin: 0;
    padding: 0;
        border-left:1px solid #333;
        border-right:1px solid #333;
        height:35px;
}
#mbtnav li a, #mbtnav li a:link, #mbtnav li a:visited {
    color: #FFF;
    display: block;
   font:normal 12px Helvetica, sans-serif;    margin: 0;
    padding: 9px 12px 10px 12px;
        text-decoration: none;
       
}
#mbtnav li a:hover, #mbtnav li a:active {
    background: #BF0100;
    color: #FFF;
    display: block;
    text-decoration: none;
        margin: 0;
    padding: 9px 12px 10px 12px;
       
   
       
}
#mbtnav li {
    float: left;
    padding: 0;
}
#mbtnav li ul {
    z-index: 9999;
    position: absolute;
    left: -999em;
    height: auto;
    width: 160px;
    margin: 0;
    padding: 0;
}
#mbtnav li ul a {
    width: 140px;
}
#mbtnav li ul ul {
    margin: -25px 0 0 161px;
}
#mbtnav li:hover ul ul, #mbtnav li:hover ul ul ul, #mbtnav li.sfhover ul ul, #mbtnav li.sfhover ul ul ul {
    left: -999em;
}
#mbtnav li:hover ul, #mbtnav li li:hover ul, #mbtnav li li li:hover ul, #mbtnav li.sfhover ul, #mbtnav li li.sfhover ul, #mbtnav li li li.sfhover ul {
    left: auto;
}
#mbtnav li:hover, #mbtnav li.sfhover {
    position: static;
}
#mbtnav li li a, #mbtnav li li a:link, #mbtnav li li a:visited {
    background: #BF0100;
    width: 120px;
    color: #FFF;
    display: block;
    font:normal 12px Helvetica, sans-serif;
    margin: 0;
    padding: 9px 12px 10px 12px;
        text-decoration: none;
z-index:9999;
border-bottom:1px dotted #333;
   
}
#mbtnav li li a:hover, #mbtnavli li a:active {
    background: #060505;
    color: #FFF;
    display: block;     margin: 0;
    padding: 9px 12px 10px 12px;
        text-decoration: none;
}


Now do the following changes

  1. Change #060505 to change background color of the Main menu
  2. Change  the yellow highlighted text to change font color, size and family
  3. Change #BF0100 to change the background of a tab on mouse hover
  4. Change #BF0100 to change the background color of the drop down menu
  5. Change #060505 to change the background color of drop down menu on mouse hover