Thursday, April 6, 2017
MENAMBAH SIDEBAR DI KANAN DAN KIRI
MENAMBAH SIDEBAR DI KANAN DAN KIRI
S
Outer-wrapper=660px;
Header-wrapper=660px;
Footer-wrapper=660px;
- Sekarang masuk ke blog sobat.
- Klik tata letak.
- Edit html.
- Jangan beri centang pada Expand widged template.
/* Outer-Wrapper
----------------------------------------------- */
#outer-wrapper {
width: 660px;
margin:0 auto;
padding:10px;
text-align:$startSide;
font: $bodyfont;
}
#main-wrapper {
width: 410px;
float:right;
word-wrap: break-word; /* fix for long text breaking sidebar float in IE */
overflow: hidden; /* fix for long non-text content breaking IE sidebar float */
}
#sidebar-wrapper {
width: 220px;
float: $startSide;
word-wrap: break-word; /* fix for long text breaking sidebar float in IE */
overflow: hidden; /* fix for long non-text content breaking IE sidebar float */
/* Outer-Wrapper
----------------------------------------------- */
#outer-wrapper {
width: 880px;
margin:0 auto;
padding:10px;
text-align:$startSide;
font: $bodyfont;
}
#main-wrapper {
width: 410px;
float:$endSide;
word-wrap: break-word; /* fix for long text breaking sidebar float in IE */
overflow: hidden; /* fix for long non-text content breaking IE sidebar float */
}
#sidebar-wrapper {
width: 220px;
float: right;
word-wrap: break-word; /* fix for long text breaking sidebar float in IE */
overflow: hidden; /* fix for long non-text content breaking IE sidebar float */
padding:5px;
#sidebarbaru-wrapper {
width: 220px;
float: left;
word-wrap: break-word; /* fix for long text breaking sidebar float in IE */
overflow: hidden; /* fix for long non-text content breaking IE sidebar float */
padding:5px
Jangan lupa ganti juga nilai lebar dari:
header-wrapper= 880px;
footer-wrapper= 880px;
<div id=main-wrapper>
<b:section class=main id=main showaddelement=no>
<b:widget id=Blog1 locked=true title=Posting Blog type=Blog/>
</b:section>
</div>
Letakkan kode dibawah ini tepat atasnya:
<div id=sidebarbaru-wrapper>
<b:section class=sidebar id=sidebarbaru preferred=yes/>
</div>
Hingga hasilnya sebagai berikut:
<div id=sidebarbaru-wrapper>
<b:section class=sidebar id=sidebarbaru preferred=yes/>
</div>
<div id=main-wrapper>
<b:section class=main id=main showaddelement=no>
<b:widget id=Blog1 locked=true title=Posting Blog type=Blog/>
</b:section>
</div>
- Klik pratinjau.
- Jika di rasa sudah sesuai klik simpan template.
Available link for download