Blogger templates can have horizontal menu bar below the blog header. It is easy to add, just add the 'Label' widget below the header in the blogger layout and your menu bar with all your blog's topic is ready. But some time you need to add another menu bar for some special pages or topics like About page, Privacy policy page and Sitemap page etc. You always want to keep this type of menu apart from your main menu bar. So why not add this menu bar above your blog's header.
The search bar above or with header looks good than placing it in sidebar. In this tutorial you will get to know how to add horizontal menu bar with search bar on the top of your blogger header.
You can take look at the Live Preview.
Lets start the process by following below steps:
Note:-
If you want to add icon for each menu tab you have to add your icon image URL in place of RED. Icon image should be square and will be better if 20px*20px or 40px*40px.
IF you want to add more tab you can repeat the the code in GREEN for each tab styling and icon.
Change the RGBA values in Yellow to change the shadow and depth in the tab before hovering.
Change the shadow and depth on hover by changing RGBA values in .shadowblockmenu ul li a:hover{
Note:-
Replace # with your URL for each tab and change the tab name accordingly.
If something goes wrong or having any problem you can comment below.
The search bar above or with header looks good than placing it in sidebar. In this tutorial you will get to know how to add horizontal menu bar with search bar on the top of your blogger header.
You can take look at the Live Preview.
Lets start the process by following below steps:
- Go to your Blogger Dashboard >> Template >> Edit HTML.
- Remember, backup your current template before editing on it.
- Search for ]]></b:skin> in your template and paste the below code just above it.
/* CSS FOR SEARCH BAR STARTS */
#search{width:250px; border:1px solid #E0DFD9;background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0cJG26GzufUPOdv-5Q_jZT_PmX-Bga_9HrdgV9lY42uQpfnfQYnEWNd46UKNh47-t9PqwOtIRpNitOggr6S-O1qy2-TKTAFWJYtRPfv8hMblRuhE0rBkvRlVxBl2jWxu_btiaiakMXJY/s1600/search-bg.png) left top repeat-x;height:32px;padding:0;text-align:left;overflow:hidden} #search #s{width:80%; background:none;color:#3F3F3F;border:0;padding:4px;margin:3px 0 0 12px;float:left} #search .search-image{border:0;vertical-align:top;float:right;margin:8px 4px 0 2px} #search-wrap{padding:15px 0} .topsearch #search{margin-top:0;margin-bottom:1px}
.shadowblockmenu{ font-weight: bold; font-size: 85%; width: 100%; background-color: #0F3775;
/* CSS FOR MENU BAR STARTS */
/* Change the background color of horizontal bar */
} .shadowblockmenu ul{ border: 1px solid #BBB; border-width: 0px 0; /* Show only top and bottom border for main menu container */ padding: 0; margin: 0; overflow: hidden; } .shadowblockmenu ul li{ display: inline; margin:0; padding:0; } .shadowblockmenu ul li a{ display:block; float:left; text-transform: uppercase; color: white; padding: 8px 15px 8px 9px; margin: 0; text-decoration: none; border-right: 0px solid #BBB; /*right border between menu items*/ -moz-box-shadow: inset -7px 0 10px rgba(2, 2, 119, 0.6); /* Add inset shadow to each menu item. First 3 values in (114,114,114, 0.4) specifies rgb values, last specifies opacity */ -webkit-box-shadow: inset -7px 0 10px rgba(2, 2, 119, 0.6); box-shadow: inset -7px 0 10px rgba(2, 2, 119, 0.6); text-shadow: 0 -1px 1px #cfcfcf; /* CSS text shadow to give text some depth */ -moz-transition: all 0.2s ease-in-out; /* Enable CSS transition between property changes */ -webkit-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; -ms-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; } .shadowblockmenu li:nth-of-type(1) a{ /* Extra style for first menu link */ border-left: 1px solid #BBB; /* add border to left side of first menu link */ padding-left:25px; background: url("Icon Image URL") 1px center no-repeat; /* Add icon */ background-size:20px 20px; } .shadowblockmenu li:nth-of-type(2) a{ /* Extra style for 2nd menu link */ padding-left:25px; background: url("
Icon Image URL
") 1px center no-repeat; /* Add icon */ background-size:20px 20px; } .shadowblockmenu li:nth-of-type(3) a{ /* Extra style for 3nd menu link */ padding-left:25px; background: url("
Icon Image URL
") 1px center no-repeat; /* Add icon */ background-size:20px 20px; } .shadowblockmenu li:nth-of-type(4) a{ /* Extra style for 4nd menu link */ padding-left:25px; background: url("
Icon Image URL
") 1px center no-repeat; /* Add icon */ background-size:20px 20px; } .shadowblockmenu li:nth-of-type(5) a{ /* Extra style for 5nd menu link */ padding-left:25px; background: url("
") 1px center no-repeat; /* Add icon */ background-size:20px 20px; } .shadowblockmenu ul li a:hover{ color: yellow; -moz-box-shadow: inset -7px 0 10px rgba(60,162,221, 0.4), inset 0 0 12px rgba(60,162,221, 0.6); /* Add 2 inset shadows to each menu item */ -webkit-box-shadow: inset -7px 0 10px rgba(60,162,221, 0.4), inset 0 0 12px rgba(60,162,221, 0.6); box-shadow: inset -7px 0 10px rgba(60,162,221, 0.4), inset 0 0 12px rgba(60,162,221, 0.6); }
Icon Image URL
/* www.thepageword.com */
Note:-
If you want to add icon for each menu tab you have to add your icon image URL in place of RED. Icon image should be square and will be better if 20px*20px or 40px*40px.
IF you want to add more tab you can repeat the the code in GREEN for each tab styling and icon.
Change the RGBA values in Yellow to change the shadow and depth in the tab before hovering.
Change the shadow and depth on hover by changing RGBA values in .shadowblockmenu ul li a:hover{
- Now, you need to add HTML for your Horizontal Menu Bar with Search Bar.
- Press Ctrl + F and search for below code:
<div class='fauxborder-left header-fauxborder-left'>
<div class='fauxborder-right header-fauxborder-right'/>
- If you didn't find the above code, then try to search for following code:
<div id='header-wrapper'> <b:section class='header' id='header' maxwidgets='3' showaddelement='no'> <b:widget id='Header1' locked='true' title='Herman Blog (Header)' type='Header'/> </b:section> <div style='clear: both'/> </div>
- Now paste the below code just below the above code in PINK.
- If you got found the code above in Purple, then paste below code just above it.
<div class='shadowblockmenu'> <ul> <li><a href='#'>Home</a></li> <li><a href='#'>About</a></li> <li><a href='#'>Contact</a></li> <li><a href='#'>Privacy Policy</a></li> <li><a href='#'>Sitemap</a></li> <li><div class='topsearch' style='float: right'> <div class='clerfix' id='search'> <form action='/search' id='searchform' method='get'> <input id='s' name='q' onblur='if (this.value == "") {this.value = "Search here...";}' onfocus='if (this.value == "Search here...") {this.value = ""}' type='text' value='Search This Blog Here...'/> <input class='search-image' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPUeEPhb5aim76CJ9d9xnTgBUCkjK8QDy0yp6pjShX3-8Dglx0wEGQRmxU-gVUnkVzENK2FDwLUEFO99y_w4rpn0QXiNSymfJIU5CYqqjgDefO7hiYUl80BEOpY3Y7Rzt5SX0agtKdX9Q/s1600/search.png' title='Search' type='image'/> </form> </div> </div> <div style='clear:both;'/></li> </ul> </div>
/* www.thepageword.com */
Note:-
Replace # with your URL for each tab and change the tab name accordingly.
If something goes wrong or having any problem you can comment below.
Sadly it doesnt work on my blog. :( Do i have to enable something like the tabs page so it wll appear? When I try the codes and preview them, I only get a bulleted list of links on top of my page. Thank you for the help. :)
ReplyDeleteमुस्लिम औरतो का खतना Islam khatna wiki photos click here
Delete.
(यहाँ क्लिक से जाने आपकी वेबसाइट गूगल पर Top ना आने के 10 कारण)
(यहाँ क्लिक कर और जाने वेबसाइट ब्लॉग से पैसे कमाए earn money from blogger blogsport)
अगर आपको ऐडनाउ एक्टिव करना हो तो यहाँ क्लिक करे तो जल्दी अप्रूव होगा और eaning भी अच्छी मिलेंगी यहाँ से अभी ज्वाइन करे
वीर्यपान के फायदे या नुकसान देख ले seminal fluid drinking benefits
ADD YOUR WhatsApp Number with Girls interested friendship click Here
.
इस लिंक को क्लिक करे और जाने वाई फाई पासवर्ड कैसे जाने हैकर Secure wifi password
.
यहाँ दूसरी टिप्स है यह भी देखे -
.
Hack WIFI - 11 Seconds internet trick in android connection
.
इंडियन बॉयज के नंबर्स यहाँ क्लिक्स से देखे और अपना ऐड करे Top.howFn.com
ADD YOUR WhatsApp Number with Girls interested friendship click Here
.
.
.
.
इंडियन बॉयज के नंबर्स यहाँ क्लिक्स से देखे और अपना ऐड करे Top.howFn.com
.
.
.
.
.
.
.
.ADD YOUR WhatsApp Number with Girls interested friendship click Here
Click here or Finds manny numbers all our worlds and there cities boys girls Top.howFn.com
Thank you very much for the great insight and we really appreciate the time you took to write this post.
ReplyDeletehow can i adjust width with my blog.
ReplyDeletePlease help! my blog url:http://freeparagraph.blogspot.com/
I have another menubar but put in wrong position in template. You really save my day. It's here: http://www.canhodanang.com/
ReplyDelete@Shojib ju: you can add some more for #mbwnavbar like this: #mbwnavbar { width: 104%; margin-left: -24px;}
Palmistry in Urdu PDF
ReplyDelete6 Top Hacking Books in PDF format
Hacking Books List
PEER E KAMIL (P.B.U.H) By Umaira Ahmed
Full Blogger Templates
Free Premium Blogger templates
Free Themeforest Blogger Templates
Free Theme Forest Premium Themes
Thanks buddy. But it would be great if you also provide a demo.
ReplyDeleteमुस्लिम औरतो का खतना Islam khatna wiki photos click here
ReplyDelete.
(यहाँ क्लिक से जाने आपकी वेबसाइट गूगल पर Top ना आने के 10 कारण)
(यहाँ क्लिक कर और जाने वेबसाइट ब्लॉग से पैसे कमाए earn money from blogger blogsport)
अगर आपको ऐडनाउ एक्टिव करना हो तो यहाँ क्लिक करे तो जल्दी अप्रूव होगा और eaning भी अच्छी मिलेंगी यहाँ से अभी ज्वाइन करे
वीर्यपान के फायदे या नुकसान देख ले seminal fluid drinking benefits
ADD YOUR WhatsApp Number with Girls interested friendship click Here
.
इस लिंक को क्लिक करे और जाने वाई फाई पासवर्ड कैसे जाने हैकर Secure wifi password
.
यहाँ दूसरी टिप्स है यह भी देखे -
.
Hack WIFI - 11 Seconds internet trick in android connection
.
इंडियन बॉयज के नंबर्स यहाँ क्लिक्स से देखे और अपना ऐड करे Top.howFn.com
ADD YOUR WhatsApp Number with Girls interested friendship click Here
.
.
.
.
इंडियन बॉयज के नंबर्स यहाँ क्लिक्स से देखे और अपना ऐड करे Top.howFn.com
.
.
.
.
.
.
.
.ADD YOUR WhatsApp Number with Girls interested friendship click Here
Click here or Finds manny numbers all our worlds and there cities boys girls Top.howFn.com
This did not work. Is this information for blogger of 2016?
ReplyDeleteExcellent post!!!. The strategy you have posted on this technology helped me to get into the next level and had lot of information in it.
ReplyDeletemongoDB training in chennai
Thanks for your valuable post.
ReplyDeletesas training in Chennai
good website and given to more information thanks! and more visit
ReplyDeletemicrostrategy training in chennai
! There is a great need for more in-depth reviews of certain products and technologies. Your tips are really helpful for anybody who wants to create reviews of any type. Great job. Thanks.
ReplyDeletedot net training in chennai
Very good website. I liked it very much.
ReplyDeleteDirect Mail Postcards
Snap Pack
Thanks
ReplyDeletethank you 100%
ReplyDeleteThanks.
ReplyDeleteNICE in 2019
ReplyDeleteNice post. Keep sharing.
ReplyDeleteMachine Learning training in Pallikranai Chennai
Pytorch training in Pallikaranai chennai
Data science training in Pallikaranai
Python Training in Pallikaranai chennai
Deep learning with Pytorch training in Pallikaranai chennai
Bigdata training in Pallikaranai chennai
Mongodb training in Pallikaranai chennai
Really very nice blog information for this one and more technical skills are improve,i like that kind of post.
ReplyDeleteMicrosoft Windows Azure Training | Online Course | Certification in chennai | Microsoft Windows Azure Training | Online Course | Certification in bangalore | Microsoft Windows Azure Training | Online Course | Certification in hyderabad | Microsoft Windows Azure Training | Online Course | Certification in pune
nice article and thanks for sharing
ReplyDelete