How to Add Blogger Menu Bar in Horizontal Mode on our Blog?

Filed Under :

blogger menu bar
Hi bloggy readers,
Blogger Menu Bar is the most important element in blog or websites because by adding this menu element to your blog will make it easier for the readers to explore more about your blog. That's why i strongly encourage you to embed this blogger menu bar navigation on your blog. Moreover, blog means nothing if there is no navigation blogger menu bar in it. Okay, in this post, i would like to discuss about adding a blogger menu bar

Anyway, in my other post called Adding Dropdown Menu or Menu with SubMenu Navigation, i already uncovered to you about adding web menus and submenu with a drop-down function when being pointed by mouse pointer. So, the tutorial in this post is definitely different with that post because this tutorial i'm about to show right now, will only show a different background without any kind of drop-down effect. Interested on adding this blogger menu bar to your blog? Let's get started then...

First Phase: Preparing 2 Images for blogger menu bar

Okay, before proceeding to this tutorial, now i want you to prepare your own pictures that later will be used to make this blogger menu bar. See the example below!

blogger menu bar button 1

blogger menu bar button hover 2

As you can see on the picture above, that is the pictures we're gonna use for the blogger menu bar that have 2 kind of effects. First, the first interface of blogger menu bar when not being pointed, and second, when being pointed by mouse cursor. Now prepare your own 2 pictures with different effects like the pictures above. But, you can also use 2 example pictures on this tutorial. Just press the right click of mouse cursor, and opt to the Copy Image Location.

Copying the URL addresses of those pictures

As many of you know, those 2 pictures will also have 2 URL addresses, the URL addresses to access the actual pictures. For example, now copy the URL address below and put it in the Notepad.
http://2.bp.blogspot.com/_UtQyNOQGaVM/Sh_-DUNLJGI/AAAAAAAAAbk/b_vk8vsvjMg/s1600/1.jpg


http://1.bp.blogspot.com/_UtQyNOQGaVM/Sh_-DGv75ZI/AAAAAAAAAbc/-6T5V5K-Pzk/s1600/23.jpg

Second phase: Adding menu on your blog


1. Go to Blogger
Now go to Blogger.com and then Log in to your Blogger account.

2. Go to Layout
In the Dashboard page, pick one of your blog and then press the Layout/Design button.

3. Edit HTML
Now press the sub-tab Edit HTML to begin editing the HTML code of your blog template.

4. Find the code
Press Ctrl + F and find this code
]]></b:skin>

5. Copy the code
Now block all the CSS styling below and press Copy. After that, put that code before the code ]]></b:skin>
/*
==================================================
The Horizontal Menus


Author : Daniel Likin
URL: http://www.whatmakesblog.com


This CSS styling and the associated (x)html may be modified in any way to fit your requirements. But i'm politely asking you for not removing or changing the credit section of this CSS styling.


==================================================
*/


#horizontal-column {
width:100%;
}


.horizontal-menu {
width: 100%;
height:20px
float:left;
margin:0x;
background:#dfdfdf;
border-bottom:1px solid #dfdfdf;
}


.horizontal-menu h2{
display:none;
}


.horizontal-menu a {
height:20px;
float:left;
color:#696969;
background:#fff;
border-top:1px solid #dfdfdf;
border-right:1px solid #dfdfdf;
border-left:1px solid #dfdfdf;
border-bottom:1px solid #dfdfdf;
text-decoration:none;
padding:5px;
}


.horizontal-menu a:hover {
height:20px;
float:left;
color:#000000;
background:#dfdfdf;
border-top:1px solid #dfdfdf;
border-right:1px solid #dfdfdf;
border-left:1px solid #dfdfdf;
border-bottom:1px solid #dfdfdf;
text-decoration:none;
padding:5px;
}

6. Find the code
Now go to the bottom and find this code. By pressing the Ctrl + F button, you will enter the Find mode.
<b:section class='header' id='header' maxwidgets='1' showaddelement='no'>
<b:widget id='Header1' locked='true' title='your blog title (Header)' type='Header'/>
</b:section>

7. Add the Horizontal Column Code
After locating the code section on number 6 above, now block the code below and then, copy. After that, paste it above the code section <b:section class='header' id='header' maxwidgets='1' showaddelement='no'> (on number 6). By doing so, the blogger menu bar column will be installed above the header element.
<div id='horizontal-column'>
<div class='horizontal-menu'>
<b:section class='horizontal' id='horizontal3' preferred='yes'>
<b:widget id='HTML3' locked='false' title='' type='HTML'/>
</b:section>
</div>
</div>

8. Save the change
Now save the change by pressing the Save Template button. Now proceed to the second phase.

Third Phase: Adding blogger menu bar through the Page Element

9. Go to Page Element
Now switch back the sub-tab from Edit HTML to the Page Element sub-tab. In the Page Element, now click the "Edit" link on the new horizontal column you've already created before, not on the header element. Blogger will prompt you with the "HTML/javascript" widget. Look at the picture below.

bloglayout page element

10. Paste the code
Now in the small window of "HTML/Javascript", paste the code below and put it in the box of the widget. By adding this code, the blogger menu bar will finally be shown to your blog.
<a href="URL address Here">Link Title</a>
<a href="URL address Here">Link Title</a>
<a href="URL address Here">Link Title</a>

As you can see in the code above, the words URL address Here must be firstly changed with your own URL address, for example http://www.whatmakesblog.com. And then, the words Link Title must also be replaced with the title of the related link, for example: Home, Contact Us, About Us, etc. So, after being adjusted to the new code, the code should now look like this:
<a href="http://www.whatmakesblog.com">Home</a>
<a href="http://www.whatmakesblog.com">About Us</a>
<a href="http://www.whatmakesblog.com">Contact Us</a>

Anyway, to add more menus in that blogger menu bar, you can simply copy the code section <a href... until the code </a>. Here's the example.
<a href="URL address Here">Link Title</a>
<a href="URL address Here">Link Title</a>
<a href="URL address Here">Link Title</a>
<a href="URL address Here">Link Title</a>
<a href="URL address Here">Link Title</a>
<a href="URL address Here">Link Title</a>
<a href="URL address Here">Link Title</a>
<a href="URL address Here">Link Title</a>
<a href="URL address Here">Link Title</a>

11. Save the changes
By pressing the Save button, now save the changes and it's done.

Okay, that's it for now. If you have something to ask to me, just type your question on the comment section below and i'll try my give you the solution.

Good luck bloogy!

You might also like to read :


Share This Article to Other People Across the World !
Thanks!
Get the fresh update from Whatmakesblog.com!
To get updates from this blog, just enter your email address in the below subscription form and then click Subscribe.
Your email address will not be shared to any third party
Delivered by FeedBurner

9 comments:

أحمد كناكري said...

hello
my web site
http://www.newgalah.com/vb

K.E.Abolfazl said...

hi danial i have proplem with installing the Horizontal Menu when i wanna save my template and go to Third Phase i encounter with this message from blogger
(We were unable to save your template,Please correct the error below, and submit your template again.
More than one widget was found with id: HTML1. Widget IDs should be unique.)
please help me as soon as possible caz ireally need to navigation bar:(((
thanks alot in advanced
if possible email me your answerd at mokhtariabolfazl2007@gmail.com

Daniel Likin said...

Okay, KE. Abolfazl

i'll answer your question in my next post. Stay tune in my blog..

zerlindapianocourse said...

Hi Daniel,

Thank you for your tip to make horizontal menu. Its help me to make horizontal menu for my blog. How to fill in the information in the horizontal menu ? Ex. I do not know how to type or fill in information in horizontal menu for contact.

Thank you so much ...

Zerlinda

Mainon said...

Hello Daniel,

I used your code and directions for including a nav bar on my blog. But for some reason, the links aren't separated into tabs. Could you tell me what I did wrong or didn't include?

Thanks,
M.Ainon

http://parentingchildrenwithspecialneedssomd.blogspot.com/

Daniel Likin said...

To zerlindapianocourse,

I am sorry it has been so long since 16 November i didn't reply to your question, because i think Blogger Comment Filter on my account has suspected your comment as a spam, although your comment is definitely not a SPAM.

So here i'll give you the answer for your question.

To create a navigation that leads you to the Contact, you must firstly create a landing page for your Contact Us form, you can visit this page below to find out more about it.

How to Make a Contact Us Form?

And then, after finished creating the landing page for Contact us Form, now you just need to modify the code below;

<a href="http://www.whatmakesblog.com">Contact Us</a>

www.whatmakesblog.com indicates the URL address for your blog,

and Contact US indicates the title that will appear on the Navigation link.

Thanks for your question.

Daniel Likin said...

To Mainon,

I've already visited your site at http://parentingchildrenwithspecialneedssomd.blogspot.com/ but the problem is i can't even find any navigation menu inside your blog.

So, i don't really understand with the problem you are having right now.

Galiatanoz said...

i try to follow all step, i end up by get this error "More than one widget was found with id: HTML3. Widget IDs should be unique.

Error 500

Any help please

Deepak Kumar said...

Hi This is Deepak

I use this code and get a menu bt u said that i have to prepare 2 image for menu. so what will i do with that. please reply me on
dk.online90@gmail.com

Post a Comment

Browse Daniel's Designs

Revoluzine Template

Revoluzine Template
Designed by Daniel Likin

Subscribe Now To Get Update!

Want to Get The Update From Whatmakesblog.com to Your Email Inbox? Just Type Your Email Address Below and Press Subscribe...
Your email address will not be shared..
Delivered by FeedBurner

Last Posts

Site Info