how to Create Horizontal Tabs Menu in Blogger ? ...
1. Go to Dashboard, click Design, click Edit HTML
2. Find code of HTML below:
]]></b:skin>
you can use (Ctrl+F) to find easily3. Right Before ]]></b:skin> - place code of HTML below:
<!--Horizontal-Tabs-BEGIN-->
.animatedtabs{
border-bottom: 1px solid gray;
overflow: hidden;
width: 100%;
font-size: 14px; /*font of menu text*/
}
.animatedtabs ul{
list-style-type: none;
margin: 0;
margin-left: 10px; /*offset of first tab relative to page left edge*/
padding: 0;
}
.animatedtabs li{
float: left;
margin: 0;
padding: 0;
}
.animatedtabs a{
float: left;
position: relative;
top: 5px; /* 1) Number of pixels to protrude up for selected tab. Should equal (3) MINUS (2) below */
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvvTgDqoMAUDF-E2876ASEluH7-y-I8aM-1veYWIq8qGabAOCC79H-ZPysTt-J5gldJgfsDYT8797Ru5Q0O72if_KcGjc6q4CSIO1Vg52wMmPiGBO2b5uyzxmSqOs9KBcma2FjRULAXqI/s320/tab-blue-left.gif) no-repeat left top;
margin: 0;
margin-right: 3px; /*Spacing between each tab*/
padding: 0 0 0 9px;
text-decoration: none;
}
.animatedtabs a span{
float: left;
position: relative;
display: block;
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeL_7pDWuzcgIV2uU8VFwG-sbrKy4CGKvihyphenhyphenB55sx1_mhfQkOHmnrx2Gven2BfixJSdWMixhFhqlTZks8K8cY64Nxt3KdgtjB8_oe_hBKBIoP6oo1p84Hdq8BNY2fMAh7cSV7tx0HZIzU/s320/tab-blue-right.gif) no-repeat right top;
padding: 5px 14px 3px 5px; /* 2) Padding within each tab. The 3rd value, or 3px, should equal (1) MINUS (3) */
font-weight: bold;
color: black;
}
/* Commented Backslash Hack hides rule from IE5-Mac \*/
.animatedtabs a span {float:none;}
/* End IE5-Mac hack */
.animatedtabs .selected a{
background-position: 0 -125px;
top: 0;
}
.animatedtabs .selected a span{
background-position: 100% -125px;
color: black;
padding-bottom: 8px; /* 3) Bottom padding of selected tab. Should equal (1) PLUS (2) above */
top: 0;
}
.animatedtabs a:hover{
background-position: 0% -125px;
top: 0;
}
.animatedtabs a:hover span{
background-position: 100% -125px;
padding-bottom: 8px; /* 3) Bottom padding of selected tab. Should equal (1) PLUS (2) above */
top: 0;
}
<!--Horizontal-Tabs-END-http://ayeyarmyae.blogspot.com-->
.animatedtabs{
border-bottom: 1px solid gray;
overflow: hidden;
width: 100%;
font-size: 14px; /*font of menu text*/
}
.animatedtabs ul{
list-style-type: none;
margin: 0;
margin-left: 10px; /*offset of first tab relative to page left edge*/
padding: 0;
}
.animatedtabs li{
float: left;
margin: 0;
padding: 0;
}
.animatedtabs a{
float: left;
position: relative;
top: 5px; /* 1) Number of pixels to protrude up for selected tab. Should equal (3) MINUS (2) below */
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvvTgDqoMAUDF-E2876ASEluH7-y-I8aM-1veYWIq8qGabAOCC79H-ZPysTt-J5gldJgfsDYT8797Ru5Q0O72if_KcGjc6q4CSIO1Vg52wMmPiGBO2b5uyzxmSqOs9KBcma2FjRULAXqI/s320/tab-blue-left.gif) no-repeat left top;
margin: 0;
margin-right: 3px; /*Spacing between each tab*/
padding: 0 0 0 9px;
text-decoration: none;
}
.animatedtabs a span{
float: left;
position: relative;
display: block;
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeL_7pDWuzcgIV2uU8VFwG-sbrKy4CGKvihyphenhyphenB55sx1_mhfQkOHmnrx2Gven2BfixJSdWMixhFhqlTZks8K8cY64Nxt3KdgtjB8_oe_hBKBIoP6oo1p84Hdq8BNY2fMAh7cSV7tx0HZIzU/s320/tab-blue-right.gif) no-repeat right top;
padding: 5px 14px 3px 5px; /* 2) Padding within each tab. The 3rd value, or 3px, should equal (1) MINUS (3) */
font-weight: bold;
color: black;
}
/* Commented Backslash Hack hides rule from IE5-Mac \*/
.animatedtabs a span {float:none;}
/* End IE5-Mac hack */
.animatedtabs .selected a{
background-position: 0 -125px;
top: 0;
}
.animatedtabs .selected a span{
background-position: 100% -125px;
color: black;
padding-bottom: 8px; /* 3) Bottom padding of selected tab. Should equal (1) PLUS (2) above */
top: 0;
}
.animatedtabs a:hover{
background-position: 0% -125px;
top: 0;
}
.animatedtabs a:hover span{
background-position: 100% -125px;
padding-bottom: 8px; /* 3) Bottom padding of selected tab. Should equal (1) PLUS (2) above */
top: 0;
}
<!--Horizontal-Tabs-END-http://ayeyarmyae.blogspot.com-->
4. Find code of HTML below:
<div id='header-wrapper'>
<b:section class='header' id='header' maxwidgets='1' showaddelement='no'>
<b:widget id='Header1' locked='true' title='Your Blog Title' type='Header'/>
</b:section>
</div>
you can use (Ctrl+F) to find easily<b:section class='header' id='header' maxwidgets='1' showaddelement='no'>
<b:widget id='Header1' locked='true' title='Your Blog Title' type='Header'/>
</b:section>
</div>
5. Right after it - place code of HTML below:
<div class='animatedtabs'>
<ul>
<li><a href= 'http://ayeyarmyae.blogspot.com' title='Add link title'><span>Name</span></a></li>
<li><a href='http://ayeyarmyae.blogspot.com' title='Add link title'><span>Name</span></a></li>
<li><a href='http://ayeyarmyae.blogspot.com' title='Add link title'><span>Name</span></a></li>
<li><a href='http://ayeyarmyae.blogspot.com' title='Add link title'><span>Name</span></a></li>
<li><a href='http://ayeyarmyae.blogspot.com' title='Add link title'><span>Name</span></a></li>
<li><a href='http://ayeyarmyae.blogspot.com' title='Add link title'><span>Name</span></a></li>
</ul>
</div>
<ul>
<li><a href= 'http://ayeyarmyae.blogspot.com' title='Add link title'><span>Name</span></a></li>
<li><a href='http://ayeyarmyae.blogspot.com' title='Add link title'><span>Name</span></a></li>
<li><a href='http://ayeyarmyae.blogspot.com' title='Add link title'><span>Name</span></a></li>
<li><a href='http://ayeyarmyae.blogspot.com' title='Add link title'><span>Name</span></a></li>
<li><a href='http://ayeyarmyae.blogspot.com' title='Add link title'><span>Name</span></a></li>
<li><a href='http://ayeyarmyae.blogspot.com' title='Add link title'><span>Name</span></a></li>
</ul>
</div>
Notes:
You can change:
# http://ayeyarmyae.blogspot.com
# Add link title
# Name
6. Click Save Template and Done.
Now, you've already Created Horizontal Tabs Menu in Blogger.
Post a Comment