Nurulbalqis 'Olive' Izzuddin ; 16 years old.

“Time is an illusion, lunchtime, doubly so."

[Tutorial]: Menu Bar

, Tuesday @ 9:11 PM } 5 comment (s)


Assalamualaikum and hello, peeps :]


*klik untuk jadi gemuk

1. Pergi ke design >> edit html
2. Tekan pada keyboard serentak CTRL+F dan dalam kotak yang keluar tu, cari kod }]]></b:skin>.
3. Copy kod ni guna CTRL+C dan pastekan di ATAS kod }]]></b:skin> tadi.,
/*** menubar1 css mula ***/

#menubar1 {
margin: 0;
height:33px;
padding: 3px 6px 2px;
background: #F5A9F2 url(http://3.bp.blogspot.com/_LZtXSNcp76A/TBJ9sMqebeI/AAAAAAAABGI/9LYh5N58KYw/s320/gradient.png) repeat-x 0 -110px;
line-height: 100%;
border-radius: 0em;
-webkit-border-radius: 0em;
-moz-border-radius: 4px;
-webkit-box-shadow: 0 1px 3px rgba(0,0,0, .4);
-moz-box-shadow: 0 1px 3px rgba(0,0,0, .4);
}
#menubar1 li {
margin: 0 5px;
padding: 0 0 8px;
float: left;
position: relative;
list-style: none;
}
/* main level link */
#menubar1 a {
font: bold 12px Arial;
color: #fff;
text-decoration: none;
display: block;
padding: 8px 20px;
margin: 0;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
text-shadow: 0 1px 1px rgba(0,0,0, .3);
}
#menubar1 a:hover {
background: #000;
color: #000;
}
/* main level link hover */
#menubar1 .current a, #menubar1 li:hover > a {
background: #EE82EE url(http://3.bp.blogspot.com/_LZtXSNcp76A/TBJ9sMqebeI/AAAAAAAABGI/9LYh5N58KYw/s320/gradient.png) repeat-x 0 -40px;
color: #404040;
border-top: solid 1px #f8f8f8;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0, .2);
-moz-box-shadow: 0 1px 1px rgba(0,0,0, .2);
box-shadow: 0 1px 1px rgba(0,0,0, .2);
text-shadow: 0 1px 0 rgba(255,255,255, 1);
}
/* dropdown */
#menubar1 li:hover > ul {
display: block;
}
/* level 2 list */
#menubar1 ul {
font: normal 12px Trebuchet MS;
color:#000000;
text-align:left;
display: none;
margin: 0;
padding: 2px 2px 2px 2px;
width: 185px;
position: absolute;
top: 35px;
left: 0;
background: #9EDEFA url(http://3.bp.blogspot.com/_LZtXSNcp76A/TBJ9sMqebeI/AAAAAAAABGI/9LYh5N58KYw/s320/gradient.png) repeat-x 0 0;
border: solid 1px #b4b4b4;
-webkit-border-radius: 10px;
-mozborder-radius: 10px;
border-radius: 10px;
-webkit-box-shadow: 0 1px 3px rgba(0,0,0, .3);
-moz-box-shadow: 0 1px 3px rgba(0,0,0, .3);
box-shadow: 0 1px 3px rgba(0,0,0, .3);
}
/*** menubar1 css tamat ***/

Menubar ni warna pink , kalau tak minat kaler pink, boleh tukar kod warna yang di'bold' kan tadi. Kod warna cari kat SINI..

4. Save template !

Opp~ belum siap lagi...

5. Seterusnya, pergi pulak ke DESIGN >> Page Elements >> Add a gadget >> Html/JavaScript dan pastekan kod ni dalam HTML/JavaScript tadi;

<!-- menubar1 mula -->
<ul id="menubar1">
<li class="current"><a href="http://balqishoneyz.blogspot.com/">Home</a></li>
<li><a href="http://balqishoneyz.blogspot.com/p/blogger.html">Owner</a></li>
<li><a href="http://balqishoneyz.blogspot.com/p/tutorial.html">Tutorial</a></li>
<!-- Menubar1 tamat --></ul>
6. Save.

Labels:


5 commenter(s)