I have had a lot of requests for a tutorial on creating a simple easy to use drop down menu for Blogger.There are literally thousands of drop down menus around with different styles and functions.However i want to have something that is easy to implement,add links to and Customizable.The menu i choose has all these features, a clean design with a jQuery powered drop down effect.
In the end i decided to go with a menu first published on
Blogger Stop over two years ago.I simply made some small changes so it will work on the newer Template designer templates.I also added a z-index so the drop down will display over content and some Rounded corners that will be visible on browsers that support them such as Firefox, Chrome and Safari, you can see a live demo below :
Add The Simple Drop Down Menu To Blogger
Remember Always Back Up Your Template Before You Make Changes -
How To Back Up A Blogger Template Step 1. In Your Blogger Dashboard Click Design > Edit Html
Step 2. Find the following piece of code in your blogs Html : (Click Ctrl and F for a search bar to help find the code -
How To Find Code In Blogger Template Template)
Step 3. Copy and Paste the following code Directly Above / Before
Note - In yellow i have highlighted the colors used, you can change these by using a different color code.You can find the code for the colors you want with our
html color code generator.
Note 2. - If the rounded corners are not to your liking remove the two sections highlighted in red and there gone !
Step 4. Save Your Template.
That's the Css and jQuery added next step is to add the html for your menu.
Now go to your blogs Design Page, we will be adding the menu across your blog below the header.This area is called Cross Column and can be seen in the image below.If your blog does not have this section available you can see how to enable it here -
Add Full Width Cross Column Gadgets To Blogger.
Add The Menu Html
In your blogs Design Page click Add A Gadget > Choose Html/Javascript > Copy and paste the following code into the Html/Javascript gadget :
This is the code that makes up the menu in the demo.Replace the hash tags (#) with your links and the text with ehhh your text :D.If you want to add more links you can do so in the same way, take a few minutes to look at the layout of the code and you will see how it works.
Template Designer Tabs Fix
If you use a template from the Blogger Template Designer there is a section of Css that will effect this or any menu you place in the cross column section.This is called tabs and you will need to remove or over ride the tabs css.I have made a short video to show you how to remove it.You can see the video here -
Remove Tabs Css.
Thanks again to
BloggerStop for the original, Make sure to Check out more of our
Design Tips and
jQuery Tips.
Drop Your Comments And Questions Below.
Libellés : blogger, jQuery