Hiển thị các bài đăng có nhãn Blogger menus. Hiển thị tất cả bài đăng
Hiển thị các bài đăng có nhãn Blogger menus. Hiển thị tất cả bài đăng

Thứ Bảy, 10 tháng 12, 2016

Horizontal Scrolling Menu For Blogger Mobile Site



Mobile screen being small can't hold a wide horizontal menu so people add vertical menu for mobile site specially bloggers do so but there is a simple way of install a horizontal menu in blogger mobile site that is making a scrollable menu so it will show some tabs of the menu and others can be seen by touching and scrolling. As you know that almost everyone is now using a touch screen mobile so it is a good menu for your mobile site. So in this post I am going to share 4 different types of horizontal scrolling menus. Follow below steps to add any of the menu in your blog's mobile site.


Live Demo (Open In Mobile For Best Experience)

How To Add Horizontal Scrolling Menu For Blogger Mobile Site?

Step 1: Go to blogger and open Layout.

Step 2: Add a gadget just above your "Blog Posts Gadget" as shown in below image and click on Html/Javascript.

how-to-add-code-in-blogger

how to add a gadget in blogger

Note: If you are not able to add gadget above Blog Posts then simply add it in sidebar and drag it above Blog Posts because its important to keep it there

Step 3: Copy code of desired menu from below and paste it into Html/Javascript window you just opened in step 2.

Simple Scrollable Nav Without Logo.


<style>
.nav-scroll {
    background-color: #333;
    overflow: auto;
    white-space: nowrap;
    position: relative;
}
.nav-scroll a {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 14px;
    text-decoration: none;
}
.nav-scroll a:hover {
    background-color: #777;
}
</style>
<div class="nav-scroll">
  <a href="https://www.blogger.com">Home</a>
  <a href="#news">News</a>
  <a href="#contact">Contact</a>
  <a href="#about">About</a>
  <a href="#support">Support</a>
  <a href="#blog">Blog</a>
  <a href="#tools">Tools</a>
  <a href="#base">Base</a>
  <a href="#custom">Custom</a>
  <a href="#more">More</a>
  <a href="#logo">Logo</a>
  <a href="#friends">Friends</a>
  <a href="#partners">Partners</a>
  <a href="#people">People</a>
  <a href="#work">Work</a>
</div>

Horizontal Scroll Nav With Scrollable Logo.

horizontal-nav-with-scrolling-logo-mobile-blogger

<style>
.nav-scroll {
    background-color: #333;
    overflow: auto;
    white-space: nowrap;
    position: relative;
}
.nav-scroll a {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 14px;
    text-decoration: none;
}
.nav-scroll a:hover {
    background-color: #777;
}
.nav-scroll img {
    width: 100px;
    float: left;
    height: 48px;
    background: #fff;
}
</style>
<div class="nav-scroll">
<img alt="logo" src="https://www.servicetrade.com/wp-content/uploads/2016/04/your-logo-here.png"/>
  <a href="https://www.blogger.com">Home</a>
  <a href="#news">News</a>
  <a href="#contact">Contact</a>
  <a href="#about">About</a>
  <a href="#support">Support</a>
  <a href="#blog">Blog</a>
  <a href="#tools">Tools</a>
  <a href="#base">Base</a>
  <a href="#custom">Custom</a>
  <a href="#more">More</a>
  <a href="#logo">Logo</a>
  <a href="#friends">Friends</a>
  <a href="#partners">Partners</a>
  <a href="#people">People</a>
  <a href="#work">Work</a>
</div>


Horizontal Scroll Nav With Fixed Logo On Left.

horizontal-nav-with-logo-mobile-blogger

<div class="nav-mob">
<img alt="brand" id="brand" src="https://www.servicetrade.com/wp-content/uploads/2016/04/your-logo-here.png"/>
<div class="nav-scroll">
  <a href="https://www.blogger.com">Home</a>
  <a href="#news">News</a>
  <a href="#contact">Contact</a>
  <a href="#about">About</a>
  <a href="#support">Support</a>
  <a href="#blog">Blog</a>
  <a href="#tools">Tools</a>
  <a href="#base">Base</a>
  <a href="#custom">Custom</a>
  <a href="#more">More</a>
  <a href="#logo">Logo</a>
  <a href="#friends">Friends</a>
  <a href="#partners">Partners</a>
  <a href="#people">People</a>
  <a href="#work">Work</a>
</div></div>
<style>
#brand {
    position: static;
    float: left;
    width: 105px;
    height: 50px
}
.nav-scroll {
    background-color: #333;
    overflow: auto;
    white-space: nowrap;
    position: relative
}
.nav-scroll a {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 14px;
    text-decoration: none
}
.nav-scroll a:hover {
    background-color: #777;
}
.nav-scroll img {
    width: 100px;
    float: left;
    height: 48px;
    background: #fff
}
.nav-mob {
    position: relative;
}
</style>



Horizontal Scroll Nav With Fixed Logo On Top.

horizontal-nav-with-fixed-logo-on-top-mobile-blogger

<div class="nav-mob">
<div id="slogo">
<img alt="logo" src="https://www.servicetrade.com/wp-content/uploads/2016/04/your-logo-here.png" /></div>
<div class="nav-scroll">
  <a href="https://www.blogger.com">Home</a>
  <a href="#news">News</a>
  <a href="#contact">Contact</a>
  <a href="#about">About</a>
  <a href="#support">Support</a>
  <a href="#blog">Blog</a>
  <a href="#tools">Tools</a>
  <a href="#base">Base</a>
  <a href="#custom">Custom</a>
  <a href="#more">More</a>
  <a href="#logo">Logo</a>
  <a href="#friends">Friends</a>
  <a href="#partners">Partners</a>
  <a href="#people">People</a>
  <a href="#work">Work</a>
</div></div>
<style>
.nav-mob {
    position: relative;
}
#slogo img {
    float: none;
width:100px
}
#slogo {
    position: static;
    width: 100%;
    text-align: center;
    padding: 2px 0px;
    background: #eaeaea
}
.nav-scroll {
    background-color: #333;
    overflow: auto;
    white-space: nowrap;
    position: relative
}
.nav-scroll a {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 14px;
    text-decoration: none
}
.nav-scroll a:hover {
    background-color: #777
}
.nav-scroll img {
    width: 100px;
    float: left;
    height: 48px;
    background: #fff
}
</style>

Step 4: Save the gadget and note its ID or name it so that you can find it in your template for next steps.

Read: How To Find ID Of A Widget In Blogger

Step 5: Go to template and click on Edit Html.

how-to-add-edit-html-in-blogger

Step 6: Find your "Mobile Nav Gadget" in your template you just added in above steps with the help of its ID or name using Ctrl + F on your keyboard. You can directly jump to your gadget also.

how-to-search-blogger-template

Step 7: After finding the gadget copy below piece of code and paste it after locked='false' as shown in below image:

mobile="only"

how-to-show-a-gadget-in-blogger-mobile-view


Step 8: Save your template and again go to Blogger > Template > Mobile.

How-to-optimize-blogger-blogs

Step 9: Change Default template to Custom and click on Save.
mobile-templates-blogger-101helper

That's it. Now open your mobile site in your mobile to see your menu working.

I hope you liked this tutorial, for more menu tutorials go to Blogger menus

Thanks for visiting 101Helper, Share this tutorial with others.

Search Keywords: Horizontal Scrolling Menu For Blogger Mobile Site, menu for blogger mobile site,pure css menu for blogspot blog,how to add css,javascript menu in blogger mobile view,101helper menus for blogger,blogging tutorials.

Thứ Sáu, 4 tháng 12, 2015

Slideout Menu For Blogger Mobile Site With Social Buttons

Slideout Menu For Blogger Mobile Site With Social buttons

My recent post for mobile blogging was about a slide down menu which is really appreciated by visitors as it got more than 1000 views so I decided to create another menu for blogger mobile site. Slide down menu was too simple and it didn't have other features like social media buttons and search box so I decided to create a menu which have these features and an exiting look. As responsiveness is also very important for a menu so i made it responsive too. You can read its major features below. For a live demo you can visit 101Helper's mobile site. I am sure you'll like this menu. Don't forget to give your feedback by leaving a comment below.

Slideout Mobile Menu Features:

☆ Easy installation.
☆ Responsive design.
☆ Social media buttons ready.
☆ Fast(doesn't affect blog's loading speed).
☆ Low size.
☆ Responsive search box.
☆ Compatible with all smart phones.
☆ Scrollable tabs and floating on page scroll.
☆ It fits all screen sizes(ipad,iphone,tablets etc).
☆ It has space for Logo.

See Live Demo

Screenshot:

slide out menu for blogger mobile site

How To Add Slide Out Menu In Blogger?

Its very easy to install this menu in your blog. You just have to follow below steps. Note that we have to hide blog header in mobile site as this menu has a space for logo so you don't need blog header in mobile site any more so we will hide the header in mobile site too while installing this menu. Lets begin!

Step 1: Go to blogger dashboard and navigate to layout.

how to add a gadget in blogger blog

Step 2: Click on add a gadget below your blog's header in the layout.

`how to add slide out menu in blogger tutorial

Step 3: Click on Html/Javascript.

how to add gadgets and ads in blogger

Step 4: Copy the below code and paste it into Html/Javascript window.
<link rel="stylesheet" type="text/css" href="https://rawgit.com/101Helper/docs/master/slideout-nav-public.css" />
<nav id="nava" role="navigation" class="sticky-nav" style="top: 0px;">
<form id="searchbox" method="get" action="/search">
<input name="q" type="text" id="search-in" size="19" required />
<input name="m" type="hidden" value="1" />
<button type="submit"  class="_54k8 _56bs _56b_ _56bw _56bu"  id="u_0_1" data-sigil="touchable"><span class="_55sr">Go!</span></button>
<img id="hide-search" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqZMYCzQkmiu-fzxo2JVKQiEG9P7lDhD0q3blC6GVHTliolJ0XnRkRI902DfzcbVXYbgao3pNZgsL6nVS3tqknMpine8H0STUGEdf_lIMPojdjoj6RuoVyMS5g2aKfqo7N83MCe4MFaS0/s1600/rsz_close-icon.jpg" />
<div id="search-height"></div>
</form>
<div class="prl-container">
<div class="nav-wrapper clearfix">
<img id="show-search" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8P5gfkbWMa2bNemG8zchXG7nRNpyeVDH8V3xZ6aMCPhkHBNPZ4-0PdpP2pMltM_j-f4fRgpVWqDXVXaCMtONBR_QbYQB6zde9IlOBdfYbcEr1n0VJPOZxcvyn-3Chf81NhPMlmAtxEyk/s1600/rsz_search-icon.png" />
<div style="float:left;">
<div class="nav_menu_control"><a href="#" data-prl-offcanvas="{target:'#offcanvas'}"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMS60_CnFNvR-P-8GOFaxnGfPRZG63TBNUyfC6DVlTECufkfFteQ98r_4YVLTHOra5WuuGwNrBpWRyJM5U_ZbR8gqLybqdQ9wJvlzMD98JcsJU6OJbbI4MlyNpRBvWFNOYYt3I6ST4L3w/s1600/rsz_mobile-menu-icon.png"/></a></div>
</div>
<div class="container">
<div class="left">
<a href="/?m=1"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-YBQ2RCuk81-XUOhs9wmOBx6i8RzXC-3NMXd6FHJeFWjLKmIKBLmPOXR-ON0B_vnAEEYLb4qcTWauooKieb92ZsP5ru1919snU_EpUxWS45ggYcboG94OrpJEUL_T1WIOuoxzj0Qp9Ps/s1600/rsz_1101helper.png" class="logo" alt="101Helper"/></a>
</div>
<div class="clear"></div></div></div></div></nav><div style="clear: both;"></div>

 <div id="offcanvas" class="prl-offcanvas">
<div class="prl-offcanvas-bar">
<div class="social-icons" style="padding-top: 5px;background: #fff;padding-left: 5px;">
<p>Follow us:</p>
<a href="https://www.fb.com/pages/101Helper/623626157780837"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhR9-7DhixkE2R0IdGalGo9YWbtRKGVxSUQCyGYL7LHzN6xD2ELFo-D2TwQ6s2ORcAA5Dsb7QMxp5d5GicSwKhT5saFHAEnSFDlfmCYSjW2fokI-fyYqRl2AlrdlwV0UsS5XNpUHLqbgYc/s1600/facebook.png" /></a>
<a href="https://twitter.com/101helperblog"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtcWY3DCWIYcY0rs-AMpmqFUMIDVJr7JbiHrbN0HVaC484ZNnfKwsNMF19uAG0-54WUP3BEi1EIyMLq-cKmrAdub34M4PqE3Uc7UJohoJ5bJFgCQAT1nGRJT7_013BDYeGS684ngRGT_g/s1600/Twitter-Logo.png" /></a>
<a href="https://www.pinterest.com/101helper"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4jJU2b8wAi6-CFl4hs62yAOW1K8FvHcSLkY0gtjKVN8lptRbp5fdJhtzGFFoQHBkfeB3N4fjLkaAv0pO_IIJc4XQEhElAJaxdWScBkCJ5O8v_SjmPodlPOD38x-mFBHOgdumRe3EM50o/s1600/App-Pinterest-icon.png" /></a>
<a href="https://plus.google.com/+101helperBlogspot"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPbE_3Xpu94A3ikdvBnES4_D0INB5hO4TiydbJuUfrEqrVO8lbwoCsp2qHfQQU7jhs28znONW6kKlRbBY6zarcRcdIgMQWyX58QFlDAqNaDJpRbcmth870V9g_3iWUIXoNTffkK_47v5Q/s1600/rsz_circle-google-plus-128.png" /></a>
</div>
<nav class="side-nav">
<ul id="nav-list" class="nav-list">
<li><a href="/?m=1">Home</a></li>
<li><a href="/search/label/Blogger%20Tips%20And%20Tricks?m=1">Blogger tips and tricks</a></li>
<li><a href="/search/label/Blogger%20Seo%28Search%20Engine%20Optimization?m=1">Blogger seo</a></li>
<li><a href="/search/label/Google%20Webmaster%20Tools%20tutorials?m=1">Google webmaster tools tutorials</a></li>
<li><a href="/search/label/Bing%20Webmaster%20Tools%20Tutorials?m=1">Bing webmaster tools tutorials</a></li>
<li><a href="/search/label/Blogger%20menus?m=1">Blogger menus</a></li>
<li><a href="/search/label/earn%20money%20blogging?m=1">Earn money blogging</a></li>
<li><a href="/search/label/Blogger%20Widgets%20And%20Gadgets?m=1">Blogger gadgets</a></li>
<li><a href="/search/label/Beginner%20to%20blogging?m=1">How to's/Blogging</a></li>
<li><a href="/search/label/Mobile%20Blogging?m=1">Mobile blogging</a></li>
<li><a href="/p/menusitemap.html?m=1">Sitemap</a></li>
<a class="abt" href=""><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUH2HkOf1iwxqBn1fpES87XXHMkH2tsU5R6SczCu333nmEWcsEGPPFvptKtVpbLQL5ZlbLfI7WoS_9AZ62IvCQCZ-8scpAJmPCjj3xP4jZXtNj5CACWF4WujI_snfoIlr_IFilPTlMAfFp/s1600/abt.png"/>101Helper</a>
</ul>
</nav>
</div></div>
<script type='text/javascript' src='https://rawgit.com/101Helper/docs/master/slideout_mobile_menu.js'></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script type='text/javascript' src='https://rawgit.com/101Helper/docs/master/slideout_mobile_menu.js'></script>
<script>
$(document).ready(function(){
    $("#hide-search").click(function(){
        $("#searchbox").hide();
    });
    $("#show-search").click(function(){
        $("#searchbox").show();
    });
});
</script>
<div id='menu-height'/></div>

Step 5: Replace the highlighted piece of code with your blogs info eg:
  • Replace green color links with your fan pages links.
  • Replace orange color link with your blog's logo image link.
  • Make changes in tabs e.g change links and text of your menu tabs - (Highlighted with yellow color).
Note: You can see a link in the menu highlighted with red color, don't try to remove it its against 101Helper Copyright Policy, if found your blog will be reported for copyright violation and action will be taken.

<a class="abt" href=""><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUH2HkOf1iwxqBn1fpES87XXHMkH2tsU5R6SczCu333nmEWcsEGPPFvptKtVpbLQL5ZlbLfI7WoS_9AZ62IvCQCZ-8scpAJmPCjj3xP4jZXtNj5CACWF4WujI_snfoIlr_IFilPTlMAfFp/s1600/abt.png"/>101Helper</a> // Copyright link ---- Don't remove this!

Step 6: Click on save button.

Step 7: Go to template and Edit html.

how to edit html in blogger

Step 8: Jump to header and type mobile='no' after locked='true' as shown in below image:

how to hide header in blogger

Step 9: Search for the id of your mobile menu gadget and find it in your template.

Check out: How to find ID of a gadget in blogger

Step 10: After finding your mobile menu gadget in your templae type mobile="only" after locked='true' as shown in below image.

how to show gadgets in blogger mobile site

Step 11: Now cut the mobile menu gadget and paste it below header as shown in below image. This is the most important step if you skip it or don't do it right your menu tabs will be irregular. You have to do it in two steps see below images for instance.

Step A: Jump to your menu gadget by its id and cut menu gadget code:


slide out menu in blogger

Step B: Jump to header and paste the copied code below it:

slide out menu in blogger 101helper

Step 11: Click on save template and you are done!

WATCH MORE BLOGGING VIDEOS!

Open your blog in your phone and check if your menu is working fine or not. If you have any question or confusion ask me in comments or contact me at fahimraza101@gmail.com. If you found this post helpful please recommend it on Google and share it with others. Thanks for visiting 101Helper. Keep visiting us. Follow and subscribe to stay updated.

Search tags: responsive menu css,jquery,slide out menu ios,android,slide out menu for website,blogger slide out menu, mobile site navigation 101helper,menus for blogger

Thứ Ba, 22 tháng 9, 2015

Jquery Slide Down Mobile Menu For Blogger

jquery-stylish-slide-down-menu-for-mobile-blogger.gif

A successful blogger is that who knows the importance of a mobile site. As blogger has no gadgets for mobile site therefore you have to add them manually. Basic things which are important for a mobile site are a search box, a related posts widget and a menu. If your mobile site has these gadget then your site is ready for mobiles.

In blogger page list is commonly used as a menu as it becomes a selector in mobile site. But it doesn't look professional and most of the visitors don't like it. So today I have a stylish jquery slide down menu for your blog's mobile site. It works on jquery so it works properly in all mobiles either it is iphone or Microsoft mobile or something else. But if you are using a phone which doesn't support javascript or jquery then this menu won't work on it.

In this post I will share my first mobile menu for blogger and show you how to add it in your blog's mobile site. So follow below mentioned steps to add this menu in your blog you can see a live demo of this menu above.

How To Add Stylish Jquery Menu In Blogger Mobile Site?

Step 1: Go to blogger dashboard > layout and click on "add a gadget" below header.


Step 2: Give a title to your gadget e.g mobile menu. Because it will help you in finding this gadget in your template in coming up steps.

Step 3: Find Html/Javascript and click on it.

how-to-add-html-javascript-in-blogger

Step 4: Copy below code and paste it into Html/Javascript window.

Tip: Click inside the code container and use Ctrl+A to select code and Ctrl+C to copy it!



how-to-add-mobile-menu-in-blogger

Step 5: Click on save, go to template and click on Edit Html.

how-to-edit-html-in-blogger

Step 6: Click inside the code and search for the name which you have given to your menu in step 2. I am searching for Mobile Menu as I've given it to my gadget.

You can also use jump this gadget to jump to your widget but its possible only if you have ID of your widget.

You Might Also Like Reading: How To Find ID Of A Gadget In Blogger

how-to-add-mobile-menu-in-blogger-101helper

Step 7: Type mobile='only' beside locked='false' and click on save template.

how-to-show-a-gadget-in-blogger-mobile-site-view

Thats it! you are done. Now open your blog in your phone and try your menu.


How To Edit This Menu?

You can't edit this gadget as you do others because after adding mobile='only' you have commanded blogger to show this gadget in your blog's mobile view only so if you check your layout now you will not see any gadget below header as it is shifted to mobile site. So to edit this menu and add your custom tabs in it follow below steps.

Step 1: Login to your blogger account first and then go to your blog's mobile site using below link:

https://yourblog.blogspot.com/?m=1

Step 2: Now find the edit image(wrench and screw driver) below your menu as shown in below image:


Step 3: Click on it and Html/Javascript window will be opened, now you can make changes in your gadget. Click on save after making changes and you are done.

Customization:

You can change its color font, font-size and every thing if you know CSS but I recommend you to use it as it is. Do only slight changes like font color or font family.

The important thing which needs customization is adding new tabs and links or removing existing tabs. So read below to add or remove any tab.

To Add A New Tab:

You can add a new tab using below piece of code:

<li><a href="Your tab's link">Your Tab's Text Or Name</a></li>

Replace Your tab's link with your link and Your Tab's Text Or Name with your tab name. For example:

<li><a href="https://101helper.blogspot.com/">Home</a></li>

To Remove A Tab:

Remove its code from <li> to </li> for example to remove Home button I will remove:

<li><a href="https://101helper.blogspot.com/">Home</a></li>

Important Note: Add or remove a tab between <ul> id="nav" style="display: none;"> and </ul> in the given code.

Menu Not Appearing?

You might face a common problem of gadget not appearing in mobile view so for that you have to use custom mobile template. If you haven't switched to custom mobile template yet then go to blogger dashboard template and below the mobile template click on the edit icon. Now switch to custom template as shown in below image;


I hope you like this post and this menu is working properly in your blog if not please ask me by leaving a comment below. Share this post with others. Follow and subscribe for more blogger gadgets, menus, tutorials etc. Thanks for visiting 101Helper.

Search Tags: Mobile Menu For Blogger,Jquery menu for mobile site,Blogger mobile view gadgets,Blogger slide down menu for mobile site,101helper menus for blogger blogs,iphone mobile menu.

Thứ Năm, 2 tháng 4, 2015

Slide Out Css/Javascript Menu For Blogger

hover_share

So far I have shared a slide in menu for blogger and today I am back with a new menu, it is a slide out menu. You can see it how it works in the above image. It is very unique menu as you can see it has icons, a responsive search box and cool follow buttons. You can see a live demo of this menu here. It is designed with css and javascript qnd it is good for those blogs which are congested or responsive, good for congested blogs because it doesn't take space on blogs, it is hidden until the trigger is clicked and good for responsive blogs because of its responsive design. Because of icons it looks more good and it resembles to wordpress menus. In this post I will show you how to add this menu in your blog and also how to customize this menu.



Follow below steps to add this menu in you blog:


Step 1: Go to your blog and click on layout in the menu on left side.


Step 2: Click on add a gadget and scroll down to Html/javascript.


Step 3: Copy below code and paste it into Html/javascript tab:





Step 5: Replace hashes(#) with your tabs and social networks links.

Step 6: Click on save and you are done successfully!

Customization:

  • Replace hashes(#) with your tabs and social network links.
  • Change code of the color in the highlighted piece of code to change hover color of tabs(  background: #67B045;).
  • Replace the text of tabs with your desired text.
  • To add a new tab add the below code in menu code section:

<li><a href='#'><img src="http://i57.tinypic.com/ax0fhu.png" style="position: relative;top: 3px;" /><span>  Product 1</span></a></li>


         Replace the black colored link with icon of your tab. Get menu icons                                  at http://iconizer.net

Hope you like this menu and it is working fine on your blog. Give me your feedback below. Share this post with others and subscribe to get latest news about blogger menus. Keep visiting 101Helper :).

Search tags: Slide out menu for blogger, blogger slide out menu, wordpress style menu for blogger, blogger menu with icons, blogger menu with social buttons, blogger menu with search box, 101helper blogger menus.

Thứ Sáu, 6 tháng 3, 2015

Slide-in CSS/Javascript Menu For Blogger

Slide in menu for blogger | 101helper blogger menus

The title "Slide in menu for blogger" expresses that the menu which I am sharing in this post must slide in when a button is clicked or hovered. Well, this menu is a unique type of menu designed with awesome colors and has a responsive design. How does it work? it is a pure css menu and when it is added to a blog the trigger of menu takes its position automatically no matter what is the blog's width. The trigger holds the top right corner position of blog and floats when the page is scrolled and when the trigger is hovered the menu slides in and covers the whole blog's page, now the blog page looks like it has fade away now only menu options are shown but if the background is focused only a fading background could be seen. Its a very interesting menu for those blog's which have responsive design.
One more thing about this menu that rocks is when the menu covers the whole screen then on top left corner another trigger appears having a close icon. So when the close icon is hovered by mouse the menu is closed. Unfortunately I don't have a live demo so I am sharing an animated image below:


Slide in menu for blogger demo | 101helper blogger menus

As it is a pure css menu so it is very easy to add this menu in your blog and you can customize it too. I will show you how to customize this menu in the end of this post. If you like this menu follow below steps to try it in your blog:

Step 1: Go to blogger dashboard and choose layout in the menu on left side.

Step 2: Click on add a gadget and find Html/javascript.

Step 3: Copy below code and paste it in the Html/javascript window:

<div class="menu-outer">
    <div class="menu-icon">
        <div class="bar"></div>
        <div class="bar"></div>
        <div class="bar"></div>
    </div>
    <nav>
        <ul>
           <li><a href="#">Home</a></li>
<li><a href="#">Product</a></li> 
           <li><a href="#">About</a></li>
            <li><a href="#">Contact</a></li>
<li><a href="#">Sitemap</a></li> 
<li><a href="#">Advertise</a></li> 
       </ul>
   </nav>
</div>
<a class="menu-close" onclick="return true">
    <div class="menu-icon">
        <div class="bar"></div>
        <div class="bar"></div>
    </div>
</a>
<style>
/* Stuff I added */
.menu-outer:hover ~ .menu-close {
  margin-right:-100px;
background-color:#444;
}
.menu-outer:hover .bar { background:rgba(100,200,240,.9); }
.menu-outer > nav ul { top:5%; }
.menu-outer {
  overflow: hidden;
  position: fixed;
  top: 0;
  font-family: 'Montserrat', serif;
  z-index: 998;  
  width: 100%;
  left: 100%;
  margin-left: -100px;
  height: 200%;
  background: rgba(100,200,240,.9);  
  -webkit-transition: all ease .5s;
  -moz-transition: all ease .5s;
  -ms-transition: all ease .5s;
  -o-transition: all ease .5s;
  transition: all ease .5s; 
  -webkit-transform-origin: top left;
  -moz-transform-origin: top left;
  -ms-transform-origin: top left;
  -o-transform-origin: top left;
  transform-origin: top left;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.menu-outer:hover {
  background: rgba(100,200,240,.98);
  left: 0;
  margin-left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
}
.menu-icon {
  z-index: 999;
  position: absolute;
  top: 58px;
  left: 15px;
  width: 30px;
  pointer-events: none;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: all ease .5s;
  -moz-transition: all ease .5s;
  -ms-transition: all ease .5s;
  -o-transition: all ease .5s;
  transition: all ease .5s;
}
.menu-icon .bar {
  background: rgba(250,250,250,1);
  width: 100%;
  height: 5px;
  margin: 0 0 5px;
  -webkit-transition: all ease .5s;
  -moz-transition: all ease .5s;
  -ms-transition: all ease .5s;
  -o-transition: all ease .5s;
  transition: all ease .5s;
}
.menu-outer:hover > .menu-icon {
  opacity: 0;
}
nav ul {
  position:absolute;
  width:100%;
  padding: 0;
  left: 10%;; /*prevents possible click when not oppened*/
  -webkit-transition: all ease .5s;
  -moz-transition: all ease .5s;
  -ms-transition: all ease .5s;
  -o-transition: all ease .5s;
  transition: all ease .5s;
}
.menu-outer:hover > nav ul {
  left: 0;
}
nav li {
  list-style:none;
  text-align: center;
  text-transform: uppercase;

}
nav li a {
  font-size: 2em;
  color: #fff;
  text-decoration: none;
  margin: 0 auto;
  padding: 20px;
  display:block;
  -webkit-transition: all ease .5s;
  -moz-transition: all ease .5s;
  -ms-transition: all ease .5s;
  -o-transition: all ease .5s;
  transition: all ease .5s;

}
nav li a:hover {
  color:#fafafa;
  text-decoration:none;
}
@media screen and (max-width: 600px), screen and (max-height: 600px) {
  nav ul {font-size:.75em;}
  nav ul a {padding: 10px;}
}
.menu-close {
  z-index: 9999;
  position: fixed;
  top: 0;
  right: 100%;
  width: 200px;
  height: 200px;
  background: rgba(250,130,70,1);
  cursor: pointer;
  -webkit-transition: all ease .5s;
  -moz-transition: all ease .5s;
  -ms-transition: all ease .5s;
  -o-transition: all ease .5s;
  transition: all ease .5s;
  -webkit-transform-origin: top right;
  -moz-transform-origin: top right;
  -ms-transform-origin: top right;
  -o-transform-origin: top right;
  transform-origin: top right;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
.menu-close .menu-icon {
  right: 15px; left: auto;top: 68px;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.menu-close .bar {
  background: rgba(250,250,250,1);
  width: 100%;
  height: 5px;
  position:absolute;
  -webkit-transform-origin: center;
  -moz-transform-origin: center;
  -ms-transform-origin: center;
  -o-transform-origin: center;
  transform-origin: center;
}
.menu-close .bar:first-child {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
.menu-close .bar:last-child {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
</style>

Step 4: Replace links of tabs with your blog links and customize the text of tags according to your choices.

Step 5: Click on save and you are done.

Customization: 

All the customizable things in the menu are highlighted by bold black color in the code. 
  1. Replace hashes(#) with your blog links. 
  2. To change font size of buttons customize font-size: 2em; in the code.
  3. To customize top position of buttons customize nav ul { top:5%; } in the code
  4. To customize the text color before and after hover make changes in green colored part of code.
If you have any other question about customizing this menu ask me in comments.

Hope you like this menu. For more blogger menus updates sign-up to newsletter below. Share this post with others if you like it. Thank you for visiting 101Helper.

Search tags: Slide in menu, slide out menu, responsive floating menu for blogger, Slide out menu for blogger, Slide in menu for blogger, Css menu for blogger, 101Helper blogger menus.