Wednesday, December 26, 2012

Solution For Drop Down Menu Cut-Off in Blogger

Since I faced this problem installing a drop down menu in this site and googling didn't help me a lot to find a fix for the submenu "cut off" problem I propose here my solution. It seem this problem happen only using "official" blogger templates. Official mean the template generated by the blogger settings panel. Hope that these information will be useful for someone who found the same problem. ;-)

Install a drop down menu inside a blogger template is quite simple. There are a lot of tutorials explaining step by step how to make this operation. I'll resume here the basic steps to follow.

First you must to choose a drop down menu to add. Basically there are two main choices regarding the "technology" to use, pure CSS menu or javascript menu (this second option is usually based to some framework like Mootools or JQuery). I moved to CSS menu and I immediately found this "cut off" problem, I don't know if the same problem turns out also using javascript menu.

A common CSS menu can be splitted in two main parts. One are the CSS properties and the second is the HTML code used for create the menu structure. The CSS properties must be insert in the template code and the HTML code can be used inside a widget.

Note : Before make any action remember to backup your template. This is very important since if you make some mistake in modify the template code you'll can restart from your backup copy.

* First Step :
- You should be Log in to your account blogger, then click on Template => Edit HTML
- After click on Proceed 
- Suddenly, you will be see this windows as below :
- Then you should find some index to correct CSS Code. So you just type Ctrl + F shortcut key, after that you should type follow the red highlight's photo below :  ]]></b:skin>
- When you searched ready, you just copy this CSS Code below and paste it before ]]></b:skin> 
+ See the under example of picture



- Click on Save Template Button

* Second Step :
- Go to Layout => Add a Gadget => Choose HTML/JavaScript
- Copy and Paste this code below to HTML/JavaScript
*Note : <li><a href="#"><b></b>Menu 3</a></li> ========> Insert Your Link

- Click Save Button => Click View Blog => So you will be see the drop down menu is cut off
- Now you go to the First Step by : Edit HTML => Ctrl + F => Type "/* Tabs"
* Note : 
+ If you see the code like below, you should select it and delete.
+ After copy code below and paste instead it.
+ You also know that in this code, we are using z-index: 9;

- You should search again by Ctrl + F => ]]></b:skin> => after that you should in z-index: 9; to all property of CSS Code. See code below that I have been inserted. 


If you have any problem, and want to help you please comment 
And I will be here to help all of you 
Go Back

0 comments:

Dí lo que piensas...