Thursday 3 January 2013

Cara Membuat Judul Blog Rata Tengah

 DEMO
  • Pertama yang harus kamu lakukan adalah Login Blogger
  • Kemudian masuk Dasbor Blogger
  • Pilih Template >> Edit HTML. Jangan Lupa Download Dulu Template Asli Kamu.
  • Kemudian cari code /* Header. Gunakan CTRL + F untuk mempermudah pencarian.
  • Perhatikan Contoh Script Dibawah Ini :
/* Header
----------------------------------------------- */
.header-outer {
  background: $(header.background.color) $(header.background.gradient) repeat-x scroll top left;
  _background-image: none;

  color: $(header.text.color);

  -moz-border-radius: $(header.border.radius);
  -webkit-border-radius: $(header.border.radius);
  -goog-ms-border-radius: $(header.border.radius);
  border-radius: $(header.border.radius);
}
  • Tambahkan text-align:center; Hingga menjadi seperti ini :
/* Header
----------------------------------------------- */
.header-outer {
  background: $(header.background.color) $(header.background.gradient) repeat-x scroll top left;
  _background-image: none;
    text-align:center;

  color: $(header.text.color);

  -moz-border-radius: $(header.border.radius);
  -webkit-border-radius: $(header.border.radius);
  -goog-ms-border-radius: $(header.border.radius);
  border-radius: $(header.border.radius);
}
  • Perhatikan Text berwarna merah.
  • Kemudian Save Template dan lihat hasilnya.

No comments:

Post a Comment