Horizontal Carte Du Jour Alongside Sub-Tabs Inward 2 Columns For Blogger

This is a really overnice horizontal bill of fare inward which its sub-tabs are displayed inward 2 columns together with is likewise made amongst CSS, without whatever scripts.
This is a really overnice horizontal bill of fare inward which its sub Horizontal bill of fare amongst sub-tabs inward 2 columns for Blogger
The "advantage" together with thus to speak, is that the sub-tabs when arranged inward 2 columns are non really long, together with thus it volition hold upwards keen together with less infinite along. You tin meet an illustration here:


Adding Influenza A virus subtype H5N1 Horizontal Menu With Sub Tabs inward Two Columns To Blogger

STEP 1: In Blogger, larn to your "Layout" together with on the "Page Elements" section.
  • Click on the "Add a Gadget" link simply nether your header image
  • From the Gadget's List, lead "HTML/JavaScript" option.
STEP 2: Simply re-create together with glue this ENTIRE code into your widget. Note: Leave the "Title" department of this widget blank.
<div id='menucol'>
<div id='topwrapper'>
<ul id='top'>
<li><a href='http://YOUR URL HERE.com'>Tab 1 Title Here</a></li>
<li><a href='http://YOUR URL HERE.com'>Tab 2 Title Here</a></li>
<li><a class='submenucol' href='#'>Tab iii Title Here</a>
<ul>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 3.1</a></li>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 3.2</a></li>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 3.3</a></li>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 3.4</a></li>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 3.5</a></li>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 3.6</a></li>
</ul>
</li>
<li><a class='submenucol' href='#'>Tab four Title Here</a>
<ul>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 4.1</a></li>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 4.2</a></li>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 4.3</a></li>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 4.4</a></li>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 4.5</a></li>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 4.6</a></li>
</ul>
</li>
<li><a class='submenucol' href='#'>Tab five Title Here</a>
<ul>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 5.1</a></li>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 5.2</a></li>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 5.3</a></li>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 5.4</a></li>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 5.5</a></li>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 5.6</a></li>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 5.7</a></li>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 5.8</a></li>
</ul>
</li>
<li><a href='http://YOUR URL HERE.com'>Tab vi Title Here</a></li>

</ul>
<br class='clearit'/>
</div>
</div>
Customize your principal tabs past times changing the Tab Titles to whatever yous want. Include a URL for each 1 if yous desire it to hold upwards 'clickable'. If not, yous tin simply set a # sign where it says http://YOUR URL HERE.com

You tin add together or delete equally many of the principal tabs equally yous need, simply brand certain to re-create the entire code for the principal tab for each additional tab yous want:
<li><a href='http://YOUR URL HERE.com'>Tab vii Title Here</a>
<ul>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 7.1</a></li>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 7.2</a></li>
<li><a href='http://YOUR URL HERE.com'>Sub Tab 7.3</a></li>
</ul>
</li>
STEP 3: Now let's larn a mensuration farther together with add together the CSS agency inward our Template
  • Go to Template > Edit HTML
  • Click on the sideways arrow side past times side to <b:skin>...</b:skin> 

  • Then click anywhere within the code expanse together with search - using CTRL + F keys - for the ]]></b:skin> tag together with simply inward a higher house ]]></b:skin> add together this code:
/* Horizontal bill of fare amongst 2 columns
----------------------------------------------- */
#menucol {
width:940px;
height:37px;
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 enterprise #666666;
border-top:1px enterprise #666666;
margin:0 auto;padding:0 auto;
overflow:hidden;
}
#topwrapper {
width:940px;
height:40px;
margin:0 auto;
padding:0 auto;
}
.clearit {
clear: both;
height: 0;
line-height: 0.0;
font-size: 0;
}
#top {
width:100%;
}
#top, #top ul {
padding: 0;
margin: 0;
list-style: none;
}
#top a {
border-right:1px enterprise #333333;
text-align:left;
display: block;
text-decoration: none;
padding:10px 12px 11px;
font:bold 14px Arial;
text-transform:none;
color:#eee;
}
#top a:hover {
background:#000000;
color:#F6F6F6;
}
#top a.submenucol {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9P2xApA270SlKfdb_fpvdQI-c-H6ohtFePE_ERz_c3Al7ODY5GqvlhWh49epTCXCy8bGvG9jrN9VUSMNEc9_5cB0TGgCV1Z21gD-okEcbDKvCCN4K9cFwrbaBI5pE1cL3H4KXIaw-n28/s1600/arrow_white.gif);
background-repeat: no-repeat;
padding: 10px 24px 11px 12px;
background-position: correct center;
}
#top li {
float: left;
position: relative;
}
#top li {
position: static !important;
width: auto;
}
#top li ul, #top ul li {
width:300px;
}
#top ul li a {
text-align:left;
padding: 6px 15px;
font-size:13px;
font-weight:normal;
text-transform:none;
font-family:Arial, sans-serif;
border:none;
}
#top li ul {
z-index:100;
position: absolute;
display: none;
background-color:#F1F1F1;
margin-left:-80px;
padding:10px 0;
border-radius: 0px 0px 6px 6px;
box-shadow:0 2px 2px rgba(0,0,0,0.6);
filter:alpha(opacity=87);
opacity:.87;
}
#top li ul li {
width:150px;
float:left;
margin:0;
padding:0;
}
#top li:hover ul, #top li.hvr ul {
display: block;
}
#top li:hover ul a, #top li.hvr ul a {
color:#333;
background-color:transparent;
text-decoration:none;
}
#top ul a:hover {
text-decoration:underline!important;
color:#444444 !important;
}
  • Now discovery (CTRL + F) this line:
/* Tabs
  • It volition likewise bring unopen to lilliputian lines beneath:
/* Tabs
----------------------------------------------- */
  • And simply below these lilliputian lines, delete the code below until yous gain at:
/* Columns
----------------------------------------------- */
  • Instead of the code that yous bring removed, add together 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 to a greater extent than info:
This is a really overnice horizontal bill of fare inward which its sub Horizontal bill of fare amongst sub-tabs inward 2 columns for Blogger
STEP 4: The terminal mensuration is to Save the Template together with yous are done!

Visit your weblog to meet a beautiful navigation bill of fare simply below header.
If yous bring whatever questions or take help, piece of job out a comment below.

Comments