Okay, has ANYONE noticed my awesome menu bar on my blog? Am I the only one totally impressed by that? LOL! Okay, okay, it’s not so awesome, I know, but I felt so brilliant for figuring it out! YES! And, since I hate being brilliant alone (hardy har har) I have to share, share, share with my closest friends!!
1. First you need to create some buttons in your photo editing program. (I did mine in photoshop). You first need to know how wide your banner is. One way to do that is to open your blog, right click over the banner, save the file, then open that file in photoshop. Once your banner photo is open in photoshop you can go to Image>Image Size (Alt+Ctrl+I) and look at the width of your banner. Then, divide that number by how many buttons you are making.
For example, my banner is 1170 pixels wide.
So, since I wanted to have 5 buttons, I would divide 1170 by 5 and make each button 234 Pixels wide. You can decide how tall to make your buttons. So, create a new file (File>New) and enter the custom settings of how big you want to make your buttons. In my case, I am making my buttons a width of 234 pixels, a height of 50 pixels, and a resolution of only 150 pixels/inch (this is just for the web, after all). Click OK.
Design your button however you choose. Be as creative as you want. When you are done, save your button as a jpeg file and repeat the process for each button.
2. Upload your button images to a site like photobucket (or your favorite image hosting site). Okay? Okay.
3. Now is the tricky part. Just follow along closely and you’ll be fine. Open your dashboard to your blog. Click where it says LAYOUT.
Then click where it says “Edit HTML” and you’ll see a page like this (you’ve probably seen this page before). Now, at this point, I need to remind you to save a copy of your template, just to be safe. You don’t want to mess with the HTML code without saving your original template first. Okay, now that the disclaimer is over….
Look for the part of the code that looks like this (it will be about 3/4 of the way down the page):
It’s the bit of code beneath the header-wrapper bit.
What you are going to do here is change the number beside “maxwidgets” from 1 to 2. Now, change the ‘no’ beside “showaddelement” to ‘yes’. Did that make sense?
Scroll down a little further and find the place in the code that looks like this:
NOW you’re done with this page. You should now have an ‘Add Page Element’ option between the Blog Title (header) and the blog post section. Click “Save Template” and then click on “Page Elements” on the top of your screen. This will take you to where you can see your blog layout, and add some elements. You should see a bar under your header where you can add a gadget now!
5. When the little screen pops up, do not add a title. In the content box, you will now copy and paste your HTML tag for your buttons you created back in step one. Keep your Blogger page open, and in a separate window, open Photobucket (or whatever site you uploaded your button pictures to). Copy the HTML code for each button and paste it into the content box you opened in blogger. The code in photobucket will look something like this:
6. Okay, now you are looking at your box with all of this HTML coding in it. Looks kinda confusing right? I know, just breathe and we’ll get through this 🙂 What we need to do, is tell the computer to send you to a specific location when you click on the button. We’ll do that right now. So, this is what you are looking at:In the section of each HTML code you copied there will be a piece of code that looks like a website address to photobucket (or whatever image hosting site you used). This bit of code is going to take you to Photobucket when you click on that button. We are going to tell it to send you to the spot you WANT it to send you by changing the website address . Everything between the ” and ” (until where it ends in .jpg) you will highlight, and delete. Then enter your own addresses, instead, for each button. So, the code that used to look like this:
will now look like this:
Now, change the url to the url you want the button to point to, corresponding to the button. Enter in the website addresses you wrote down on the piece of paper. So, for your home button, enter in your blog address, for your CONTACT button,don’t enter a website address in that space, instead enter “mailto:email@example.com”. And so on for each button. When you have completed changing each code, you only have one last change to make (I Promise!)
7. The last thing we are going to do is center the buttons by entering (with no spaces) at the beginning of the code (the top of the box) and (with no spaces) at the very end. That will center all of the codes in between. Click SAVE and then check out your blog! Enjoy your menu!