How To Make Menu Or Sub Menu In Blogger Urdu/Hindi Tutorial..


This is a very nice horizontal menu in which its sub-tabs are displayed in two columns and is also made with CSS, without any scripts.



Menu



The "advantage" so to speak, is that the sub-tabs when arranged in two columns are not very long, so it will be neat and less space along.


Adding A Horizontal Menu With Sub Tabs in Two Columns To Blogger


STEP 1
In Blogger go to your "Template " and on the "Page Elements" section.

Click on the Edit Html.
From the Html section, Click on any where and press "ctrl + F.
Now Search "</header>" in the html field.


STEP 2

Simply copy and paste this ENTIRE code into your html block just After the "
..






    <div id='menucol'>
    <div id='topwrapper'>
    <ul id='top'>
    <li><a href='http://YOUR URL HERE.com'>Tab 1 Title Here</a></li>
    <li><a href='http://YOUR URL HERE.com'>Tab 2 Title Here</a></li>
    <li><a class='submenucol' href='#'>Tab 3 Title Here</a>
    <ul>
    <li><a href='http://YOUR URL HERE.com'>Sub Tab 3.1</a></li>
    <li><a href='http://YOUR URL HERE.com'>Sub Tab 3.2</a></li>
    <li><a href='http://YOUR URL HERE.com'>Sub Tab 3.3</a></li>
    <li><a href='http://YOUR URL HERE.com'>Sub Tab 3.4</a></li>
    <li><a href='http://YOUR URL HERE.com'>Sub Tab 3.5</a></li>
    <li><a href='http://YOUR URL HERE.com'>Sub Tab 3.6</a></li>
    </ul>
    </li>
    <li><a class='submenucol' href='#'>Tab 4 Title Here</a>
    <ul>
    <li><a href='http://YOUR URL HERE.com'>Sub Tab 4.1</a></li>
    <li><a href='http://YOUR URL HERE.com'>Sub Tab 4.2</a></li>
    <li><a href='http://YOUR URL HERE.com'>Sub Tab 4.3</a></li>
    <li><a href='http://YOUR URL HERE.com'>Sub Tab 4.4</a></li>
    <li><a href='http://YOUR URL HERE.com'>Sub Tab 4.5</a></li>
    <li><a href='http://YOUR URL HERE.com'>Sub Tab 4.6</a></li>
    </ul>
    </li>
    <li><a class='submenucol' href='#'>Tab 5 Title Here</a>
    <ul>
    <li><a href='http://YOUR URL HERE.com'>Sub Tab 5.1</a></li>
    <li><a href='http://YOUR URL HERE.com'>Sub Tab 5.2</a></li>
    <li><a href='http://YOUR URL HERE.com'>Sub Tab 5.3</a></li>
    <li><a href='http://YOUR URL HERE.com'>Sub Tab 5.4</a></li>
    <li><a href='http://YOUR URL HERE.com'>Sub Tab 5.5</a></li>
    <li><a href='http://YOUR URL HERE.com'>Sub Tab 5.6</a></li>
    <li><a href='http://YOUR URL HERE.com'>Sub Tab 5.7</a></li>
    <li><a href='http://YOUR URL HERE.com'>Sub Tab 5.8</a></li>
    </ul>
    </li>
    <li><a href='http://YOUR URL HERE.com'>Tab 6 Title Here</a></li>

    </ul>
    <br class='clearit'/>
    </div>
    </div>






        
    Replace # with your Page Links and the bolded text with relevant page names. The yellow 


     Customize your main tabs by changing the Tab Titles to whatever you want. Include a URL for each one if you want it to be 'clickable'. If not, you can just put a # sign where it says


     You can add or delete as many of the main tabs as you need, just make sure to copy the entire code for the main tab for each additional tab you want:


    Step 3 
    Now let's go a step further and add the CSS style in our Template

    Go to Template Edit HTML



    click anywhere inside the code area and search - using CTRL + F keys for the
    ]]></b:skin> tag and just above ]]></b:skin>add this code: 


    /* Horizontal menu with 2 columns
    ----------------------------------------------- */
    #menucol {
    width:940px; 
    height:37px;
    background-image: -moz-linear-gradient(top, #666666, #000000);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0.00, #666666), color-stop(1.0, #000000));
    filter: progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#666666,endColorStr=#000000);
    border-bottom:1px solid #666666;
    border-top:1px solid #666666;
    margin:0 auto;padding:0 auto;
    overflow:hidden;
    }
    #topwrapper {
    width:940px; 
    height:40px;
    margin:0 auto;
    padding:0 auto;
    }
    .clearit {
    clear: both;
    height: 0;
    line-height: 0.0;
    font-size: 0;
    }
    #top {
    width:100%;
    }
    #top, #top ul {
    padding: 0;
    margin: 0;
    list-style: none;
    }
    #top a {
    border-right:1px solid #333333;
    text-align:left;
    display: block;
    text-decoration: none;
    padding:10px 12px 11px;
    font:bold 14px Arial;
    text-transform:none;
    color:#eee;
    }
    #top a:hover {
    background:#000000;
    color:#F6F6F6; 
    }
    #top a.submenucol {
    background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSw6qa2nPb8w8LReLpSVXmK5u9ry_wiL1GV76dkHoD__N_r9chN6DTCj1EgNHPFeFQ3J819JE6r2L2coCPJp1uvxUBw0Ow7MlwBIrbkBzhF91b-m2qTXlZfXSJeJDJj8wXlFRxtSkDa1E/s1600/arrow_white.gif); 
    background-repeat: no-repeat;
    padding: 10px 24px 11px 12px;
    background-position: right center;
    }
    #top li {
    float: left;
    position: relative;
    }
    #top li {
    position: static !important; 
    width: auto;
    }
    #top li ul, #top ul li {
    width:300px;
    } 
    #top ul li a {
    text-align:left;
    padding: 6px 15px;
    font-size:13px;
    font-weight:normal;
    text-transform:none;
    font-family:Arial, sans-serif;
    border:none;
    }
    #top li ul {
    z-index:100;
    position: absolute;
    display: none;
    background-color:#F1F1F1; 
    margin-left:-80px;
    padding:10px 0;
    border-radius: 0px 0px 6px 6px;
    box-shadow:0 2px 2px rgba(0,0,0,0.6);
    filter:alpha(opacity=87);
    opacity:.87;
    }
    #top li ul li {
    width:150px; 
    float:left;
    margin:0;
    padding:0;
    }
    #top li:hover ul, #top li.hvr ul {
    display: block;
    }
    #top li:hover ul a, #top li.hvr ul a {
    color:#333; 
    background-color:transparent;
    text-decoration:none;
    }
    #top ul a:hover {
    text-decoration:underline!important;
    color:#444444 !important; 
    }


    Now find (CTRL + F) this line:

    /* Tabs


    It will also have some little lines beneath:

    /* Tabs
    ----------------------------------------------- */


    And just below these little lines, delete the code below until you reach at:

    /* Columns
    ----------------------------------------------- */

    Instead of the code that you have removed, add this one:

      
    #crosscol ul {z-index: 200; padding:0 !important;}
    #crosscol li:hover {position:relative;}
    #crosscol ul li {padding:0 !important;}
    .tabs-outer {z-index:1;}
    .tabs-inner {padding: 0 0px;}


    Step 4
    The final step is to Save the Template and you are done!

    Visit your blog to see a beautiful navigation menu just below header.
    If you have any questions or need help, leave a comment below.

    Watch Video for Better Understanding.. 


    Post a Comment

    Thanks For Your Comment. We will reply you as soon as possible ...

     
    COOL PROGRAMMING 4 U © 2013. All Rights Reserved. Shared by Cp4U
    Top