How To Add Stylish Responsive Vertical Menu In Blogger

How to add stylish responsive vertical menu in blogger

A good and successful blog or site is that which have a simple and clear navigation. Navigation includes pages in site or blog, menu, popular posts, related posts etc. Navigation is also important for seo. Navigation is like street signs and help visitors to reach their posts which they look for. Blogger provides many features among which one is creating pages, linking them to categories and displaying them as menu as I did in my blog. But now most of the blogs have added menus to their blogs of different styles such as horizontal, vertical, responsive, floating etc because everybody wants his blog to be most popular among all. You can find a number of menus on the internet but the are either common or not work.
So people re-decorate them to make it unique but as everybody is copying from one blog to another and is modifying it therefore no menu is left un-modified and un-seen. There are also some sites that provides source codes of menus e.g css menu maker, css menu creator etc but they don't tell about how to add these menus to blogs or sites. So I am posting this tutorial for those who don't know how to add these menus to blog. Previously I have shared a horizontal menu which is also created by css menu maker and they have also posted a tutorial about it but that post explains a little and its very difficult to add menu in blogger by following that post you can find that post here. This is the copyright of css menu maker and I am not trying to steel their menu's code but posting about how to use their menus. So this time I am sharing a vertical menu, it is a responsive menu and contains dropdown menus(sub menus) also, although its a simple menu but i will also share how can you make this menu float in the end of this post. You can see an animated screenshot of this menu below:


How to add stylish responsive vertical menu in blogger

How to add vertical menu to blogger:

This is a detailed tutorial about adding this menu in blog so you will learn everything about this menu e.g how to add more tabs, how to less tabs, how to remove dropdown, how to add dropdown etc. Its very easy to add this menu in blogger, all you have to do is to follow below mentioned steps:

Step 1: Go to blogger and log-in to your blogger account and open your blog.

Step 2: Go to template and click on edit Html.

Step 3: In the Html page click anywhere in the Html and find </head> by using Ctrl+F on you keyboard.

Step 4: Copy the below code and paste it just above </head>.
    <meta charset='utf-8'/>
        <meta content='IE=edge' http-equiv='X-UA-Compatible'/>
        <meta content='width=device-width, initial-scale=1' name='viewport'/>
    <meta charset='utf-8'/>
    <meta content='IE=edge' http-equiv='X-UA-Compatible'/>
    <meta content='width=device-width, initial-scale=1' name='viewport'/>
    <link href='styles.css' rel='stylesheet'/>
    <script src='http://code.jquery.com/jquery-latest.min.js' type='text/javascript'/>
    <script src='script.js'/>

    Step 5: Now copy the below code and go to layout, click on add a gadget and a pop-up window will open. Scroll down this window to Html/javascript, click on it and paste the copied code in the Html/javascript tab:
    <div id='cssmenu'>
    <ul>
       <li><a href='#'><span>Home</span></a></li>
       <li class='active has-sub'><a href='#'><span>Dropdown</span></a>
          <ul>
             <li class='has-sub'><a href='#'><span>Sub Drop down </span></a>
                <ul>
                   <li><a href='#'><span>Sub Drop down</span></a></li>
                   <li class='last'><a href='#'><span>Sub Drop down</span></a></li>
                </ul>
             </li>
             <li class='has-sub'><a href='#'><span>Sub Drop down</span></a>
                <ul>
                   <li><a href='#'><span>Sub Drop down</span></a></li>
                   <li class='last'><a href='#'><span>Sub Drop down</span></a></li>
                </ul>
             </li>
          </ul>
       </li>
       <li><a href='#'><span>About</span></a></li>
    <li><a href='#'><span>Sitemap</span></a></li>
       <li class='last'><a href='#'><span>Contact</span></a></li>
    </ul>
    </div>
    Step 6: Replace hashes(#) with your blog's pages links.
    Step 7: Now your menu is almost ready but it needs to be decorated, you have to add css code in your blog to decorate it, so copy the below code and go to template and click on edit Html, Click anywhere in the html and find ]]></b:skin> by using Ctrl+F on your keyboard,now paste the copied code just above it.
    @import url(http://fonts.googleapis.com/css?family=Lato:300,400,700);
    /* Starter CSS for Flyout Menu */
    #cssmenu,
    #cssmenu ul,
    #cssmenu ul li,
    #cssmenu ul ul {
      list-style: none;
      margin: 0;
      padding: 0;
      border: 0;
    }
    #cssmenu ul {
      position: relative;
      z-index: 597;
      float: left;
    }
    #cssmenu ul li {
      float: left;
      min-height: 1px;
      line-height: 1em;
      vertical-align: middle;
    }
    #cssmenu ul li.hover,
    #cssmenu ul li:hover {
      position: relative;
      z-index: 599;
      cursor: default;
    }
    #cssmenu ul ul {
      margin-top: 1px;
      visibility: hidden;
      position: absolute;
      top: 1px;
      left: 99%;
      z-index: 598;
      width: 100%;
    }
    #cssmenu ul ul li {
      float: none;
    }
    #cssmenu ul ul ul {
      top: 1px;
      left: 99%;
    }
    #cssmenu ul li:hover > ul {
      visibility: visible;
    }
    #cssmenu ul li {
      float: none;
    }
    #cssmenu ul ul li {
      font-weight: normal;
    }
    /* Custom CSS Styles */
    #cssmenu {
      font-family: 'Lato', sans-serif;
      font-size: 18px;
      width: 260px;
    }
    #cssmenu ul a,
    #cssmenu ul a:link,
    #cssmenu ul a:visited {
      display: block;
      color: #848889;
      text-decoration: none;
      font-weight: 300;
    }
    #cssmenu > ul {
      float: none;
    }
    #cssmenu ul {
      background: #fff;
    }
    #cssmenu > ul > li {
      border-left: 3px solid #d7d8da;
    }
    #cssmenu > ul > li > a {
      padding: 10px 20px;
    }
    #cssmenu > ul > li:hover {
      border-left: 3px solid #0085e4;
    }
    #cssmenu ul li:hover > a {
      color: #0085e4;
    }
    #cssmenu > ul > li:hover {
      background: #f6f6f6;
    }
    /* Sub Menu */
    #cssmenu ul ul a:link,
    #cssmenu ul ul a:visited {
      font-weight: 400;
      font-size: 14px;
    }
    #cssmenu ul ul {
      width: 200px;
      background: none;
      border-left: 20px solid transparent;
    }
    #cssmenu ul ul a {
      padding: 8px 0;
      border-bottom: 1px solid #eaeaea;
    }
    #cssmenu ul ul li {
      padding: 0 20px;
      background: #fff;
    }
    #cssmenu ul ul li:last-child {
      border-bottom: 3px solid #d7d8da;
      padding-bottom: 10px;
    }
    #cssmenu ul ul li:first-child {
      padding-top: 10px;
    }
    #cssmenu ul ul li:last-child > a {
      border-bottom: none;
    }
    #cssmenu ul ul li:first-child:after {
      content: '';
      display: block;
      width: 0;
      height: 0;
      position: absolute;
      left: -20px;
      top: 13px;
      border-left: 10px solid transparent;
      border-right: 10px solid #fff;
      border-bottom: 10px solid transparent;
      border-top: 10px solid transparent;
    }
    Step 8: Click on save template and you are done.
    OR
    If you can't find ]]></b:skin> then after copying css code go to template click on customize and on the customization page click on Advanced scroll down to Add css and paste the css code.
    Hit apply to blog on top-right of the customization page and you are done.
    If you are using simple blogger template then this menu will show up on right hand side as simple temple have no left gadget space and this menu is for left hand side as its dropdowns opens from left to right therefore you need to change the layout setting so that you could have a gadget adding space on left side. To customize layout of your blog follow below steps:
    Step 1: Go to Blogger Dashboard and click on template.
    Step 2: On the Template page click on customize, it will send you to customization page.
    Step 3: On the customization page click on layout.
    Step 4: Choose the layout which have left gadget space and click on apply to blog on top-right of the page and you are done.
    There are five layouts which have left gadgets spaces select any of them and manage your gadgets.

    How to add stylish responsive vertical menu in blogger

    Customization:

    Although you can customize the colors of this menu but do it only if you know css otherwise it may not work, but you can customize it in other way like adding or removing dropdowns, adding or removing tabs and inserting your blog links in tabs. You can customize:
      1. Adding links: To add links of your blog e.g homepage link, contact page link, sitemap link,about page link replace # in menu code in fifth step above.
      2. Renaming tabs: To rename tabs e.g Home, Sitemap, contact,etc just change the names in the code.
      3. Adding or removing tabs: To add or remove tabs add or remove  <li><a href='#'><span>tab</span></a></li> in the code for example if you want to remove Home tab just remove   <li><a href='#'><span>Home</span></a></li> from code and if you want to add Home tab add   <li><a href='#'><span>Home</span></a></li> in code.
      4. Adding or removing dropdowns and sub-dropdowns: To add or remove dropdown in menu add or remove  <li class='active has-sub'><a href='#'><span>Dropdown</span></a> add below code in the menu code to add or remove sub-dropdown. 
                            <ul>

                           <li class='has-sub'><a href='#'><span>Sub Drop down </span></a>            
                            <ul> 

    I hope you like this post and this menu is working in your blog, if you have any problem ask me in comments. Follow and subscribe for latest news about blogger menus. Share this post with others if this was helpful to you.


    Tags: vertical menu for blogger blog, free vertical menu, horizontal menus for blogger, Responsive vertical menu for blogger.

    How To Show Ads In Mobile View In Blogger

    How to show ads in mobile view in blogger

    Blogging is a good way to earn money and I have written many posts about it, among them I have also written a post in which I shared some tips to increase blog revenue by getting more clicks on your ads. In that post I have told that showing ads in mobile view also helps in getting more clicks but many bloggers don't know how to show ads in mobile view in blogger.

    Although if you are using Google Adsense then you can show its ads directly in mobile view as Google provides mobile ads but what about those who don't use Google Adsense, so I thought to share this trick with which you can show ads on mobile no matter which publishing network you are using. Its very easy to enable ads on mobile, to show your ads on mobile follow below steps:
    • First of all add your ads code in Layout--->add a gadget--->Html/javascript and give it a title so that you could follow step 3.
    • Now go to template and click on Edit html.
    • In the Html page click anywhere in code and search for the widget title(Step 1) by using Ctrl+F on your keyboard or if you can't find it click on jump to widget and find the code of ads one by one in all widgets as shown in below image .
    How to show ads in mobile view in blogger
    •  After finding the code of your ads add mobile='yes' just after Locked='false' in the widgets code as shown in below image:
      How to show ads in mobile view in blogger

               In the above image I have enabled infolinks ads in my blog's mobile view.
      • Click on save template and you are done, open your blog to see your ads.
      Note: Ads will show up only in smartphones, and sometime after following above steps ads still do not show so in that case follow below steps:
      • Go to blogger Dashboard.
      • Click on template and click on customize blog template and change simple template to custom template.
      • Click on save and you are done.
      If you are still confused then below image may help you.

      How to show ads in mobile view in blogger
      Final words:

      Its very easy to show ads in blogger, I hope the above post was help to you but if you are facing any problem regarding this post ask me in comments below or contact me at fahimraza101@gmail.com. If you like this post take a second to share it with others, follow and subscribe to get latest news about blogger tricks in your inbox or follow us on Facebook, twitter or Google+.

      Tags: How to make money online, how to show blogger widgets in mobile view, how to show ads in mobiles, how to increase revenue, how to get more clicks on ads in blogger, free money tips and tricks 101Helper.

      Deciduous blog posts leave evergreens for dead

      In a social-media world, deciduous blog posts have an enormous advantage of both ever-green and ephemeral content - find out what they are, and how to use them to best advantage.



      Introducing deciduous blog posts

      In botany and horticulture, deciduous plants
      ... are those that lose all of their leaves for part of the year. (Wikipedia)

      In blogging, deciduous posts are ones that your readers lose all interest in at certain times - eg posts about Christmas carols during January, or winter gardening tips during spring.

      Which sounds bad.

      Until you realise that deciduous posts are also ones that your readers (both current and new ones) gain renewed interest in at certain times. That means it's quite reasonable for you - and everyone else  - to mention them on Facebook, Twitter, Google+ each time that the new "season" starts.   If your posts are good, you might even get more new visits from social media in the subsequent seasons than in the first time around.

      When you think about it, it's easy to see that in a social-media world ...

      Text superimposed on an ever-green pine forest, photographed from the air (aerial photo, not satellite)


      Deciduous blog posts leave evergreens for dead.


      What does this mean for bloggers

      If getting more visitors through either search or referrals is important for your blog, then you should :
      • Be systematic about  how you remember to promote seasonal posts you've already published.   
      • Find ways to write posts that will be become popular on a cyclical basis.
      • Make strategic decisions about whether to change an existing post vs when to make a new post about a seasonal topic.
      • Set up Labels or custom-redirects to send people who end up on a previous-year post to the most recent one.


      Remember to promote your seasonal posts

      santa claus with a sack of toys on his back - the seasonal gift-giving symbol
      Make a calendar of significant factors that should cause extra traffic for your blog, and send yourself a reminder message in time to review and re-share the relevant posts, according to your blog's social media strategy.

      Working out exactly when do these promotions can be tricky. Ideally this is based on studying your visitor statistics (Analytics or whatever tool you use) to see when the posts got popular last time around.

      You might think that you know anyway, because the seasons are obvious, but it's easy to miss earlier-than-expected surges in interest. For example, posts about Christmas music might actually be popular with music directors who're choosing their Christmas programs in September. But you do need to be careful about and where how you promote posts like this - because no one else wants to be reminded about Christmas so soon!

      Finding seasonal posting reasons in non-seasonal blogs

      Some blogs clearly have cyclic patterns: gardens follow the natural world, folk songs follow holidays (eg workers-rights songs for labor day, patriotic songs for national days), gift suggestions follow established human seasons (Christmas, Valentines), homeschoolers generally follow the school year.

      But if you look harder, you can find seasonal patterns that apply to lots of other blogs, too. For example, one well-known blogger-helper often does a post towards the end of the American college year reminding people to transfer ownership of their blogs to a non-college Google account.

      Ways to do this include:
      • Blogging about the similarities (or differences) between your niche and some unrelated by widely-known seasonal event  (eg "Writing poetry is not like Christmas because ...".
      • Writing about famous people in your topic who have died - close to their anniversary or birthday.   
      • Making up your own seasonal patter  eg   "In March, Crotchet-Blogger celebrates cable-stitch". 

      Promotion existing posts vs publishing new ones

      A big question for bloggers with deciduous blog topics is whether they should publish a new post each season, or just polish and promote the existing post(s).

      The answer depends on the nature of the information each season:

      SituationWhat do do
      Are there changes to the information each season?

      Make a new post, link to it from the last season's posts, promote it like you do any other post.

      Does exactly the same information apply each year

      Review the existing post, and then promote it on social media - and perhaps in the blog itself or in other new posts.


      For example, one of my blogs is about public transport news in my city.  This has clear seasonal patterns around public holidays, the tourist season, a major sporting event, and the academic year.   The sporting event causes the biggest peak, with web-traffic up by 600%, week-on-week.  Each year's  information for it is very similar: buses leave at (roughly the same time) from (exactly the same place) for (close to the same fare) as last year. But each year there are changes: slightly different times, different effects on other bus services, one year there was a park-and-ride. So for this blog, I do a new post each year.   And I go back into last year's post and add a line like
      "This information is for 2013.   Click here for this year's bus services."
      and I make the "here" link to a label search for the topic, so that the most recent post will always come up first in the list.

      By comparison, in another blog, I've published a printable sheet of non-religious Christmas carol words for which copyright has expired.  Over time, it will be possible to add extra carols to this.  But this won't happen each year - and all the existing content will continue to be relevant forever. So I don't republish this in a new post each year.   Instead, I promote it with a gadget on the sidebar, and I share the post on my social media accounts for the blog.

      Be aware that if you do decided to make a slight change to an existing seasonal post, rather than write a new one:



      Other things to think about

      When you thinking about how you can get the more traffic using the deciduous posts in your blog, there are a few other factors to keep in mind:

      Look for multi-year cycles

      Some events happen once every 2, 3 or more years. For example:
      • Some sports events (the Olympics, the Volvo Ocean race, the Commonwealth games) happen every-so-many years. 
      •  Leap years happen once every four years.
      • In some countries, elections happen every five years.

      These multi-year patterns can be even more powerful than the every-year ones, because less people are aware of them, and readers in general are not-so-likely to remember what you wrote four years ago.

      Don't forget the Southern Hemisphere

      Spring starts in September, not February, if you live in the bottom half of the world. And cars need to be prepared for winter in April, not November.

      This may mean that you can re-promote posts based on natural seasons twice a year - or that you should target some seasonal posts by hemisphere.

      Some readers have different holidays

      festival of light decoration:  central candle circled by shells each with a small candle on it, with a yellow-woven backing cloth
      It's easy to think that all your readers are just like you, and live with the same seasonal patterns that you do.   But that's not always true:
      • People who don't live in America might not even know when Thanksgiving or Black Friday is, much less what it means.
      • In many Western countries, Christmas is a holiday even for people who aren't religious. But there are countries where Christmas isn't a holiday at all and most people don't even know it exists.



      How have you used seasonal / deciduous topics to get new interest in your blog?




      Related Articles:

      Mapping out your blog's social media strategy: how your blog works with your Facebook, Twitter, Pinterest, etc accounts

      5 reasons why SEO doesn't matter for your blog

      Using labels to categorise blog posts

      Transferring a blog to a new owner

      Follow-by-email, an easy way to offer email subscription to your blog

      How To Add Horizontal Stylish Drop Down Menu In Blogger

      How to add horizontal stylish responsive drop down menu in blogger | 101helper

      I have shared many gadgets but this one is no.1. Its a responsive drop down menu, many bloggers search responsive menus for their blogs as it looks cool and attracts users but they are disappointed because on many websites there are codes of the menu but these codes doesn't work.

      Today bloggers are in competition with each other for traffic, but traffic isn't every thing, a successful blogger not only focus on his blog traffic but also his blog impression and look. A menu  navigates  users in a blog as it divides blog into categories so a visitor can find his interests easily. You can find many menus on internet and many websites provide menu codes but doesn't give method of adding the menu on blog, so in this post I will tell you how to add a stylish responsive drop down menu to your blog. 

      Screenshot: 



      How to add horizontal stylish responsive drop down menu in blogger | 101helper

      How to add this menu to your blog?

      To add this menu to your blog follow the below steps:

      Step 1: Go to Blogger Dashboard and click Layout.

      Step 2: Click add a gadget and scroll down to find Html/Javascript.

      Step 3: Copy below code, paste it is Html/Javascript tab and save the gadget:
      <script>
      (function($) {

        $.fn.menumaker = function(options) {
            
            var cssmenu = $(this), settings = $.extend({
              title: "Menu",
              format: "dropdown",
              sticky: false
            }, options);

            return this.each(function() {
              cssmenu.prepend('<div id="menu-button">' + settings.title + '</div>');
              $(this).find("#menu-button").on('click', function(){
                $(this).toggleClass('menu-opened');
                var mainmenu = $(this).next('ul');
                if (mainmenu.hasClass('open')) { 
                  mainmenu.hide().removeClass('open');
                }
                else {
                  mainmenu.show().addClass('open');
                  if (settings.format === "dropdown") {
                    mainmenu.find('ul').show();
                  }
                }
              });

              cssmenu.find('li ul').parent().addClass('has-sub');

              multiTg = function() {
                cssmenu.find(".has-sub").prepend('<span class="submenu-button"></span>');
                cssmenu.find('.submenu-button').on('click', function() {
                  $(this).toggleClass('submenu-opened');
                  if ($(this).siblings('ul').hasClass('open')) {
                    $(this).siblings('ul').removeClass('open').hide();
                  }
                  else {
                    $(this).siblings('ul').addClass('open').show();
                  }
                });
              };

              if (settings.format === 'multitoggle') multiTg();
              else cssmenu.addClass('dropdown');

              if (settings.sticky === true) cssmenu.css('position', 'fixed');

              resizeFix = function() {
                if ($( window ).width() > 768) {
                  cssmenu.find('ul').show();
                }

                if ($(window).width() <= 768) {
                  cssmenu.find('ul').hide().removeClass('open');
                }
              };
              resizeFix();
              return $(window).on('resize', resizeFix);

            });
        };
      })(jQuery);

      (function($){
      $(document).ready(function(){

      $(document).ready(function() {
        $("#cssmenu").menumaker({
          title: "Menu",
          format: "multitoggle"
        });

        $("#cssmenu").prepend("<div id='menu-line'></div>");

      var foundActive = false, activeElement, linePosition = 0, menuLine = $("#cssmenu #menu-line"), lineWidth, defaultPosition, defaultWidth;

      $("#cssmenu > ul > li").each(function() {
        if ($(this).hasClass('active')) {
          activeElement = $(this);
          foundActive = true;
        }
      });

      if (foundActive === false) {
        activeElement = $("#cssmenu > ul > li").first();
      }

      defaultWidth = lineWidth = activeElement.width();

      defaultPosition = linePosition = activeElement.position().left;

      menuLine.css("width", lineWidth);
      menuLine.css("left", linePosition);

      $("#cssmenu > ul > li").hover(function() {
        activeElement = $(this);
        lineWidth = activeElement.width();
        linePosition = activeElement.position().left;
        menuLine.css("width", lineWidth);
        menuLine.css("left", linePosition);
      }, 
      function() {
        menuLine.css("left", defaultPosition);
        menuLine.css("width", defaultWidth);
      });

      });


      });
      })(jQuery);
      </script>

      Step 4: After following step 3 copy the below code and paste it above </head> in your blog template by going to template option and clicking on edit html.
             <meta charset='utf-8'/>
          <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
          <meta name="viewport" content="width=device-width, initial-scale=1"/>
         <script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>

      Step 5: Copy the below code and paste it below </header> in the template of your blog but if you wish the menu to appear below your blog title or blog but if you want it to show anywhere else simply copy below code and paste it there.
      <div id='cssmenu'>
      <ul>
         <li><a href='#'>Home</a></li>
         <li class='active has-sub'><a href='#'>Products</a>
            <ul>
               <li class='has-sub'><a href='#'>Product 1</a>
                  <ul>
                     <li><a href='#'>Sub Product</a></li>
                     <li><a href='#'>Sub Product</a></li>
                  </ul>
               </li>
               <li class='has-sub'><a href='#'>Product 2</a>
                  <ul>
                     <li><a href='#'>Sub Product</a></li>
                     <li><a href='#'>Sub Product</a></li>
                  </ul>
               </li>
            </ul>
         </li>
         <li><a href='#'>About</a></li>
         <li><a href='#'>Contact</a></li>
      </ul>
      </div>


      Step 6: In this step we are going to style our menu so for that we have to add a piece of CSS code, so go to template and click customize now on the customization page click Advanced and scroll down to the last option(Add css) and paste the below code in the Add css tab:

      How to add horizontal stylish responsive drop down menu in blogger | 101helper
      @import url(http://fonts.googleapis.com/css?family=Open+Sans);
      #cssmenu,
      #cssmenu ul,
      #cssmenu ul li,
      #cssmenu ul li a,
      #cssmenu #menu-button {
      margin: 0;
      padding: 0;
      border: 0;
      list-style: none;
      line-height: 1;
      display: block;
      position: relative;
      z-index:999;
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;
      }
      #cssmenu:after,
      #cssmenu > ul:after {
      content: ".";
      display: block;
      clear: both;
      visibility: hidden;
      line-height: 0;
      height: 0;
      }
      #cssmenu ul{border: 1px solid #ddd;}
      #cssmenu #menu-button {
      display: none;
      }
      #cssmenu {
      width: auto;
      font-family: 'Open Sans', sans-serif;
      line-height: 1;
      background: #ffffff;
      }
      #menu-line {
      position: absolute;
      top: 0;
      left: 0;
      height: 3px;
      background: #009ae1;
      -webkit-transition: all 0.25s ease-out;
      -moz-transition: all 0.25s ease-out;
      -ms-transition: all 0.25s ease-out;
      -o-transition: all 0.25s ease-out;
      transition: all 0.25s ease-out;
      }
      #cssmenu > ul > li {
      float: left;
      }
      #cssmenu.align-center > ul {
      font-size: 0;
      text-align: center;
      }
      #cssmenu.align-center > ul > li {
      display: inline-block;
      float: none;
      }
      #cssmenu.align-center ul ul {
      text-align: left;
      }
      #cssmenu.align-right > ul > li {
      float: right;
      }
      #cssmenu.align-right ul ul {
      text-align: right;
      }
      #cssmenu > ul > li > a {
      padding: 20px;
      font-size: 12px;
      text-decoration: none;
      text-transform: uppercase;
      color: #000000;
      -webkit-transition: color .2s ease;
      -moz-transition: color .2s ease;
      -ms-transition: color .2s ease;
      -o-transition: color .2s ease;
      transition: color .2s ease;
      }
      #cssmenu > ul > li:hover > a,
      #cssmenu > ul > li.active > a {
      color: #009ae1;
      }
      #cssmenu > ul > li.has-sub > a {
      padding-right: 25px;
      }
      #cssmenu > ul > li.has-sub > a::after {
      position: absolute;
      top: 21px;
      right: 10px;
      width: 4px;
      height: 4px;
      border-bottom: 1px solid #000000;
      border-right: 1px solid #000000;
      content: "";
      -webkit-transform: rotate(45deg);
      -moz-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
      -o-transform: rotate(45deg);
      transform: rotate(45deg);
      -webkit-transition: border-color 0.2s ease;
      -moz-transition: border-color 0.2s ease;
      -ms-transition: border-color 0.2s ease;
      -o-transition: border-color 0.2s ease;
      transition: border-color 0.2s ease;
      }
      #cssmenu > ul > li.has-sub:hover > a::after {
      border-color: #009ae1;
      }
      #cssmenu ul ul {
      position: absolute;
      left: -9999px;
      }
      #cssmenu li:hover > ul {
      left: auto;
      }
      #cssmenu.align-right li:hover > ul {
      right: 0;
      }
      #cssmenu ul ul ul {
      margin-left: 100%;
      top: 0;
      }
      #cssmenu.align-right ul ul ul {
      margin-left: 0;
      margin-right: 100%;
      }
      #cssmenu ul ul li {
      height: 0;
      -webkit-transition: height .2s ease;
      -moz-transition: height .2s ease;
      -ms-transition: height .2s ease;
      -o-transition: height .2s ease;
      transition: height .2s ease;
      }
      #cssmenu ul li:hover > ul > li {
      height: 32px;
      }
      #cssmenu ul ul li a {
      padding: 10px 20px;
      width: 160px;
      font-size: 12px;
      background: #333333;
      text-decoration: none;
      color: #dddddd;
      -webkit-transition: color .2s ease;
      -moz-transition: color .2s ease;
      -ms-transition: color .2s ease;
      -o-transition: color .2s ease;
      transition: color .2s ease;
      }
      #cssmenu ul ul li:hover > a,
      #cssmenu ul ul li a:hover {
      color: #ffffff;
      }
      #cssmenu ul ul li.has-sub > a::after {
      position: absolute;
      top: 13px;
      right: 10px;
      width: 4px;
      height: 4px;
      border-bottom: 1px solid #dddddd;
      border-right: 1px solid #dddddd;
      content: "";
      -webkit-transform: rotate(-45deg);
      -moz-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
      -o-transform: rotate(-45deg);
      transform: rotate(-45deg);
      -webkit-transition: border-color 0.2s ease;
      -moz-transition: border-color 0.2s ease;
      -ms-transition: border-color 0.2s ease;
      -o-transition: border-color 0.2s ease;
      transition: border-color 0.2s ease;
      }
      #cssmenu.align-right ul ul li.has-sub > a::after {
      right: auto;
      left: 10px;
      border-bottom: 0;
      border-right: 0;
      border-top: 1px solid #dddddd;
      border-left: 1px solid #dddddd;
      }
      #cssmenu ul ul li.has-sub:hover > a::after {
      border-color: #ffffff;
      }
      @media all and (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
      #cssmenu {
      width: 100%;
      }
      #cssmenu ul {
      width: 100%;
      display: none;
      }
      #cssmenu.align-center > ul,
      #cssmenu.align-right ul ul {
      text-align: left;
      }
      #cssmenu ul li,
      #cssmenu ul ul li,
      #cssmenu ul li:hover > ul > li {
      width: 100%;
      height: auto;
      border-top: 1px solid rgba(120, 120, 120, 0.15);
      }
      #cssmenu ul li a,
      #cssmenu ul ul li a {
      width: 100%;
      }
      #cssmenu > ul > li,
      #cssmenu.align-center > ul > li,
      #cssmenu.align-right > ul > li {
      float: none;
      display: block;
      }
      #cssmenu ul ul li a {
      padding: 20px 20px 20px 30px;
      font-size: 12px;
      color: #000000;
      background: none;
      }
      #cssmenu ul ul li:hover > a,
      #cssmenu ul ul li a:hover {
      color: #000000;
      }
      #cssmenu ul ul ul li a {
      padding-left: 40px;
      }
      #cssmenu ul ul,
      #cssmenu ul ul ul {
      position: relative;
      left: 0;
      right: auto;
      width: 100%;
      margin: 0;
      }
      #cssmenu > ul > li.has-sub > a::after,
      #cssmenu ul ul li.has-sub > a::after {
      display: none;
      }
      #menu-line {
      display: none;
      }
      #cssmenu #menu-button {
      display: block;
      padding: 20px;
      color: #000000;
      cursor: pointer;
      font-size: 12px;
      text-transform: uppercase;
      }
      #cssmenu #menu-button::after {
      content: '';
      position: absolute;
      top: 20px;
      right: 20px;
      display: block;
      width: 15px;
      height: 2px;
      background: #000000;
      }
      #cssmenu #menu-button::before {
      content: '';
      position: absolute;
      top: 25px;
      right: 20px;
      display: block;
      width: 15px;
      height: 3px;
      border-top: 2px solid #000000;
      border-bottom: 2px solid #000000;
      }
      #cssmenu .submenu-button {
      position: absolute;
      z-index: 10;
      right: 0;
      top: 0;
      display: block;
      border-left: 1px solid rgba(120, 120, 120, 0.15);
      height: 52px;
      width: 52px;
      cursor: pointer;
      }
      #cssmenu .submenu-button::after {
      content: '';
      position: absolute;
      top: 21px;
      left: 26px;
      display: block;
      width: 1px;
      height: 11px;
      background: #000000;
      z-index: 99;
      }
      #cssmenu .submenu-button::before {
      content: '';
      position: absolute;
      left: 21px;
      top: 26px;
      display: block;
      width: 11px;
      height: 1px;
      background: #000000;
      z-index: 99;
      }
      #cssmenu .submenu-button.submenu-opened:after {
      display: none;
      }
      }
      Step 7: Click  Apply to blog  and you are done!

      How to customize this menu according to your choices?

      101Helper give you a brief description of every gadget it share along with customization points similarly in this post I will tell you how can you customize this menu according to your choices. See the customization points below:

      It goes without saying that while adding this menu every blogger would like to first change the text of the menu tabs and also add links to them because this menu don't get your blog links automatically so to change text of the tabs and add your blog links you have to make changes in Step 4 where red highlighted text is the text of tabs and # is to make spaces for links. In the html code of step 4 first tab text is home which is not changed because every blog has a homepage so leave it and move on-ward and change Products, product 1, product 2, sub product of both drop down tabs after you change the text it time to add the destination links of the text so replace # with links of the pages for example:

      <li><a href='http://101helper.blogspot.com'>Home</a></li>

      You can see that # is replaced with the url of home page. Similarly replace # with links of the contact and about page respectively. If any of the page doesn't exist in your blog such as about page or any other page and you want that tab to be removed the simply remove
      <li><a href='#'>About</a></li> , do same for other pages. And if you want to remove the drop down tabs then remove:

       <li class='active has-sub'><a href='#'>Products</a>
            <ul>
               <li class='has-sub'><a href='#'>Product 1</a>
                  <ul>
                     <li><a href='#'>Sub Product</a></li>
                     <li><a href='#'>Sub Product</a></li>
                  </ul>
               </li>
               <li class='has-sub'><a href='#'>Product 2</a>
                  <ul>
                     <li><a href='#'>Sub Product</a></li>
                     <li><a href='#'>Sub Product</a></li>
                  </ul>
               </li>
            </ul>
         </li>

      Similarly to add more tabs simply add <li><a href='#'>About</a></li> and replace About with the text which you want to display and # with the destination link of that tab. For example if you have a category and you wish to display it in the menu then replace About with the name of that category and # with link of that category.

      Note: Make sure to save the gadget after every change you make in the code.

      You can also make changes in color of the tabs in Css code(step6) but I suggest you to not do that unless you have a little knowledge about css and codes of the colors because this may cause menu disappear.

      Thanks for visiting 101Helper, visit again for more gadgets and widgets, follow and subscribe for latest updates. If you have any problem regarding this post ask me in comments. Recommend this post on Google by clicking g+1 and help 101Helper grow.

      Tags: How to add a stylish responsive drop down menu in blogger, menu for blogger, menu adding tutorial, drop down menu for blogger, 101Helper gadgets for bloggers.

      Kategori

      Kategori