January 05, 2015

Tutorial : Letak Box Section Bawah Header

Tengok Starbuck ni terhingin pula nak minum Starbuck. Macam sedap je, macam enak je.




Assalamualaikum. Hai you all...

Okey, hari ni entah kenapa nak share cara nak buat section box dekat atas. Tujuan benda tu

sebenarnya adalah supaya readers korang senang nak cari post-post yang berkaitan . Pakai blog

archieve pun boleh, but kalau yang jenis suka post satu hari 3 post, kalau setahun mesti dah

berlambak kan. Lagipun, nanti korang punya sidebar nampak serabut . So, this is it :

1. Tekan dashboard > template

2. Tekan ctrl+f  atau F3 . Cari perkataan blockquote { .

3.Copy code di bawah :

a.box{
-webkit-transition: one by one 0.5s ease-in-out;
-moz-transition: one by one 0.3s ease-in-out;
-o-transition: one by one 0.3s ease-in-out;
-ms-transition: one by one 0.3s ease-in-out;
transition: one by one 0.3s ease-in-out;
cursor:pointer;
background:transparent;
width:200px;
 font:20px tt;
 padding:3px;
text-decoration:none;
color:#555;
display:inline-block; text-align:center;
}
a.box:hover{
padding-left: 20px;
-webkit-transition:0.2s;
}
4.Pastekan atas perkataan blockquote {

5. Tekan ctrl+f atau f3 sekali lagi. Search perkataan </head> 

6. Copy code di bawah :


<center>
<a class="box" onclick="document.getElementById('page').innerHTML=document.getElementById('diary')
.innerHTML" ><img src="http://1.bp.blogspot.com/-qTl7PIx-gmg/VKlry-Aaa_I/AAAAAAAAAWk/nGC197rymn4/s1600/home.png"/></a>
<a class="box" onclick="document.getElementById('page').innerHTML=document.getElementById('profile')
.innerHTML" ><img src="http://1.bp.blogspot.com/-xTP06R6IPII/VKlsNqktAtI/AAAAAAAAAWs/8zDOVPBJsQs/s1600/sharing.png"/></a>
<a class="box" onclick="document.getElementById('page').innerHTML=document.getElementById('links')
.innerHTML" ><img src="http://2.bp.blogspot.com/-CWxc91azWW4/VKluRHeVPCI/AAAAAAAAAW4/cCRaJwFKuk4/s1600/Friends.png"/></a>
<a class="box" onclick="document.getElementById('page').innerHTML=document.getElementById('stuff')
.innerHTML" ><img src="http://3.bp.blogspot.com/-xzXudrZojjs/VKluTxdMx2I/AAAAAAAAAXA/AjdvIC5frxI/s1600/KARYA.png"/></a>
</div></center><br>

7. Paste dekat atas perkataan </head> .

8. Preview and kalau dah okey save. Selamat mencuba !