Designing your own template

Untuk men-design sendiri template Friendster blog, ada 3 hal yang dibutuhkan:

1. Sebuah software untuk meng-edit gambar (Photoshop, Photo Impact, atau semacamnya)

2. Website untuk meng-upload gambar/ image hosting (Photobucket, Imageshack, atau semacamnya)

3. Sedikit pengetahuan tentang CSS (Cascading Style Sheet)

Kode CSS untuk Friendster blog adalah sebagai berikut [kode aku ambil dari template Lamborghini]:

<style type="text/css">

/* Original fresh CSS from friendster.com */

/* — scrollbar colors — */
html, body {
scrollbar-face-color: #000;
scrollbar-shadow-color: gray;
scrollbar-highlight-color: gray;
scrollbar-3dlight-color: gray;
scrollbar-darkshadow-color: black;
scrollbar-track-color: #616161;
scrollbar-arrow-color: white;
scrollbar-base-color: transparent;
}

/* — bgcolor of the blog — */
body
{
min-width: 780px;
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #000;
font-size: 12px;
background: #000 url("http://img507.imageshack.us/img507/8678/carbackxs7.jpg") fixed;
}
/* ——————————————————————————– */

/* — banner behind the photo and blog title — */
#banner
{
width: 0px; /* necessary for ie win */
background: #086763 url(http://i67.photobucket.com/albums/h316/slasherx12/transparent-bg_X.gif) repeat-x;
background-color: transparent;
}
/* ——————————————————————————– */

/* — repeating background image of the body — */
#container
{
width: 780px;
background: url(http://img402.imageshack.us/img402/2215/carmainow1.jpg) repeat-y;
}
/* ——————————————————————————– */

/* — bgcolor behind the topheader .. and i also use this to center my topheader on both IE and Mozilla — */
.friendster-banner
{
position: relative;
/*width: 780px;
height: 260px;*/
width:100%;
margin: 0;
border-bottom: 0px solid #546172;
padding: 0;
background:;
text-align: center;
}
/* ——————————————————————————– */

/* — my topheader — */
.friendster-banner-nav-wrapper
{
width: 780px;
height: 250px;
background: url(http://img374.imageshack.us/img374/2365/carheadgd9.jpg);
}
/* ——————————————————————————– */

/* — dont know what this is .. i think its the position of my topheader :) — */
.friendster-banner-nav
{
position: static;
overflow: hidden;
width: 780px;
margin: 0 auto;
text-align: left;
}
/* ——————————————————————————– */

/* — friendster logo (i think) :D — */
.friendster-banner-nav-logo
{
display: none;
}
/* ——————————————————————————– */

/* — Home | Blogs links — */
.friendster-banner-nav-links
{
float: right;
display: inline;
color: #393f3f;
font-family: arial, helvetica, sans-serif;
padding-right: 20px;
padding-bottom: 5px;
font-weight: bold;
font-size:0px;
}
/* ——————————————————————————– */

/* — says pretty much everything on the Home | Blogs section only! — */
.friendster-banner-nav-links a:link
{
color:darkblue;
}
.friendster-banner-nav-links a:hover,
.friendster-banner-nav-links a:active,
.friendster-banner-nav-links a:visited
{
color: #393f3f;
}
/* ——————————————————————————– */

/* — top ads — */
.friendster-banner-ad-wrapper
{
width: 780px;
height: 132px;
display: none;
}
/* ——————————————————————————– */

/* — top ads — */
.friendster-banner-ad
{
display: none;
}
/* ——————————————————————————– */

/* friendster footer (ads) */
.friendster-footer
{
width: 780px;
height: 132px;
display: none;
}
/* ——————————————————————————– */

/* — body ads — */
.friendster-body-ad
{
width: 780px;
height: 132px;
display: none;
}
/* ——————————————————————————– */

/* — module header or the little rectangular boxes with links (not all) on the right side of my blog — */
.module-header,
.trackbacks-header,
.comments-header,
.comments-open-header,
.archive-header
{
/* ie win (5, 5.5, 6) bugfix */
p\osition: relative;
width: 100%;
w\idth: auto;

margin: 0 0 1px 0;
padding: 10px 10px 10px 24px;
/*color: #f93;*/
color: white;
background: black;
font-size: 11px;
font-weight: bold;
text-transform: uppercase;
}

.module-header a,
.trackbacks-header a,
.comments-header a,
.comments-open-header a,
.archive-header a
{
color: #2b2e33;
text-decoration: underline;
}

.module-header a:visited,
.trackbacks-header a:visited,
.comments-header a:visited,
.comments-open-header a:visited,
.archive-header a:visited
{
color: #2b2e33;
}

.module-header a:hover,
.trackbacks-header a:hover,
.comments-header a:hover,
.comments-open-header a:hover,
.archive-header a:hover
{
color: #FFFFFF;
}
/* ——————————————————————————– */

/* — user photo — */
.banner-user
{
float: left;
overflow: hidden;
width: 64px;
margin: 0 15px 0 0;
border: 0;
padding: 0;
text-align: center;
}

.banner-user-photo
{
display:compact;
margin: 0 0 2px 0;
border: 0;
padding: 0;
background-position: center center;
background-repeat: no-repeat;
text-decoration: none !important;
}

.banner-user-photo img
{
width: 64px;
height: auto;
margin: 0;
border: 0;
padding: 0;
}
/* ——————————————————————————– */

/* — title of your blog — */
#banner
{
position: relative; /* ie 5 win */
p\osition: static; /* everything else */
}

#banner a { display:none; color: #fff; font-weight: bold; text-decoration: none; }
#banner a:visited { display:none; color: #fff; }
#banner a:hover { display:none; color: #989898; }
/* ——————————————————————————– */

/* — i forgot what this is :S — */
.module-powered .module-content
{
display: none;
margin: 0;
padding: 10px;
border: 1px solid #888899;
color: #fff;
background: #343f4a;
}
/* ——————————————————————————– */

/* Title of your Active Post  */
.entry-header
{
margin-left: 5px;
padding-left: 30px;
background: black;
color: #FFFFFF;
font-size: 18px;
font-weight: bold;
font-style: none;
}
/* ——————————————————————————– */

/* –h3 size (the title of the active post) — */
h3 {
text-align: left;
}
/* ——————————————————————————– */

/* — chars at the main body — */
div.entry-body {
text-align: justify;
}
/* ——————————————————————————– */

/* — haha forgot this too :) — */
.module-content
{
position: relative;
margin: 0px 0px 0px 0px;
}
/* ——————————————————————————– */

/* — color of the BODY of the lil rectangular boxes on my right side — */
div.module-content {
background: transparent;
}
/* ——————————————————————————– */

/* — bullet — */
ul.module-list li
{
margin: 0px 0px 15px 0px;
padding-left: 0px;
/*background: url(theme-beckett/li-bg.gif) 0 0.3em no-repeat;*/
background: transparent;
}
/* ——————————————————————————– */

/* — colors of the links on the right of my blog — */
.module-content a { color: #fff; font-weight: bold; }
.module-content a:visited { color: #616161; }
.module-content a:hover { background-color: yellow; }
/* ——————————————————————————– */

/* — divider image — */
#container-inner
{
margin: 0 10px 0 10px;
border-bottom: 1px solid #5b626a;
background: url() 297px 0 repeat-y;
}
/* ——————————————————————————– */

</style>

Untuk yang mengerti CSS, kode-kode di atas bisa langsung di-edit sesuai dengan yang diinginkan. Setelah selesai, tahap yang harus dilakukan adalah:

1. Klik Edit Configuration

2. Copy-paste kode di kolom Blog Description/Catchphrase

3. Klik Save —> Publish Your Blog

Tutorial tentang cara mengganti tampilan Background, Header & Main Body, akan aku tampilkan di posting berikutnya.

Useful links:

Photobucket

Imageshack

CSS Tutorial

Comments are closed.