Sunday, June 2, 2013

Horizontal menu with sub-tabs in two columns for Blogger

Horizontal menu with sub-tabs in two columns for Blogger - Hi, friend Domain Info For Website, in this article entitled Horizontal menu with sub-tabs in two columns for Blogger, we have prepared this article well and concise to be easy to understand for you to read and can be taken inside information. hopefully the contents of the post Article Blog Design, Article css, Article menus, Article navigation menu, Article Widgets, that we write this you can understand and useful. okay, happy reading.

This is a very nice horizontal menu in which its sub-tabs are displayed in two columns and is also made with CSS, without any scripts.

blogger navigation menu, css menu, drop-down menu
The "advantage" so to speak, is that the sub-tabs when arranged in two columns are not very long, so it will be neat and less space along. You can see an example here:

Adding A Horizontal Menu With Sub Tabs in Two Columns To Blogger

STEP 1: In Blogger, go to your "Layout" and on the "Page Elements" section.
  • Click on the "Add a Gadget" link just under your header image
  • From the Gadget's List, select "HTML/JavaScript" option.
STEP 2: Simply copy and paste this ENTIRE code into your widget. Note: Leave the "Title" section of this widget blank.
<div id='menucol'>
<div id='topwrapper'>
<ul id='top'>
<li><a href='http://YOUR URL'>Tab 1 Title Here</a></li>
<li><a href='http://YOUR URL'>Tab 2 Title Here</a></li>
<li><a class='submenucol' href='#'>Tab 3 Title Here</a>
<li><a href='http://YOUR URL'>Sub Tab 3.1</a></li>
<li><a href='http://YOUR URL'>Sub Tab 3.2</a></li>
<li><a href='http://YOUR URL'>Sub Tab 3.3</a></li>
<li><a href='http://YOUR URL'>Sub Tab 3.4</a></li>
<li><a href='http://YOUR URL'>Sub Tab 3.5</a></li>
<li><a href='http://YOUR URL'>Sub Tab 3.6</a></li>
<li><a class='submenucol' href='#'>Tab 4 Title Here</a>
<li><a href='http://YOUR URL'>Sub Tab 4.1</a></li>
<li><a href='http://YOUR URL'>Sub Tab 4.2</a></li>
<li><a href='http://YOUR URL'>Sub Tab 4.3</a></li>
<li><a href='http://YOUR URL'>Sub Tab 4.4</a></li>
<li><a href='http://YOUR URL'>Sub Tab 4.5</a></li>
<li><a href='http://YOUR URL'>Sub Tab 4.6</a></li>
<li><a class='submenucol' href='#'>Tab 5 Title Here</a>
<li><a href='http://YOUR URL'>Sub Tab 5.1</a></li>
<li><a href='http://YOUR URL'>Sub Tab 5.2</a></li>
<li><a href='http://YOUR URL'>Sub Tab 5.3</a></li>
<li><a href='http://YOUR URL'>Sub Tab 5.4</a></li>
<li><a href='http://YOUR URL'>Sub Tab 5.5</a></li>
<li><a href='http://YOUR URL'>Sub Tab 5.6</a></li>
<li><a href='http://YOUR URL'>Sub Tab 5.7</a></li>
<li><a href='http://YOUR URL'>Sub Tab 5.8</a></li>
<li><a href='http://YOUR URL'>Tab 6 Title Here</a></li>

<br class='clearit'/>
Customize your main tabs by changing the Tab Titles to whatever you want. Include a URL for each one if you want it to be 'clickable'. If not, you can just put a # sign where it says http://YOUR URL

You can add or delete as many of the main tabs as you need, just make sure to copy the entire code for the main tab for each additional tab you want:
<li><a href='http://YOUR URL'>Tab 7 Title Here</a>
<li><a href='http://YOUR URL'>Sub Tab 7.1</a></li>
<li><a href='http://YOUR URL'>Sub Tab 7.2</a></li>
<li><a href='http://YOUR URL'>Sub Tab 7.3</a></li>
STEP 3: Now let's go a step further and add the CSS style in our Template
  • Go to Template > Edit HTML
  • Click on the sideways arrow next to <b:skin>...</b:skin> 

  • Then click anywhere inside the code area and search - using CTRL + F keys - for the ]]></b:skin> tag and just above ]]></b:skin> add this code:
/* Horizontal menu with 2 columns
----------------------------------------------- */
#menucol {
background-image: -moz-linear-gradient(top, #666666, #000000);
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0.00, #666666), color-stop(1.0, #000000));
filter: progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#666666,endColorStr=#000000);
border-bottom:1px solid #666666;
border-top:1px solid #666666;
margin:0 auto;padding:0 auto;
#topwrapper {
margin:0 auto;
padding:0 auto;
.clearit {
clear: both;
height: 0;
line-height: 0.0;
font-size: 0;
#top {
#top, #top ul {
padding: 0;
margin: 0;
list-style: none;
#top a {
border-right:1px solid #333333;
display: block;
text-decoration: none;
padding:10px 12px 11px;
font:bold 14px Arial;
#top a:hover {
#top a.submenucol {
background-image: url(;
background-repeat: no-repeat;
padding: 10px 24px 11px 12px;
background-position: right center;
#top li {
float: left;
position: relative;
#top li {
position: static !important;
width: auto;
#top li ul, #top ul li {
#top ul li a {
padding: 6px 15px;
font-family:Arial, sans-serif;
#top li ul {
position: absolute;
display: none;
padding:10px 0;
border-radius: 0px 0px 6px 6px;
box-shadow:0 2px 2px rgba(0,0,0,0.6);
#top li ul li {
#top li:hover ul, #top li.hvr ul {
display: block;
#top li:hover ul a, #top li.hvr ul a {
#top ul a:hover {
color:#444444 !important;
  • Now find (CTRL + F) this line:
/* Tabs
  • It will also have some little lines beneath:
/* Tabs
----------------------------------------------- */
  • And just below these little lines, delete the code below until you reach at:
/* Columns
----------------------------------------------- */
  • Instead of the code that you have removed, add this one:
#crosscol ul {z-index: 200; padding:0 !important;}
#crosscol li:hover {position:relative;}
#crosscol ul li {padding:0 !important;}
.tabs-outer {z-index:1;}
.tabs-inner {padding: 0 0px;}
See this screenshot for more info:
menu for blogger, blogger gadgets, blogger widgets
STEP 4: The final step is to Save the Template and you are done!

Visit your blog to see a beautiful navigation menu just below header.
If you have any questions or need help, leave a comment below.

Thank You and Good article Horizontal menu with sub-tabs in two columns for Blogger this time, hopefully can benefit for you all. see you in other article postings.

You are now reading the articleHorizontal menu with sub-tabs in two columns for Blogger with the link address


Post a Comment