Select Menu

Slider

Adsense Banner 970 x 90

Blog Archive

Footer W 2

Footer W 1

Footer W 3

Travel

Performance

Cute

My Place

Slider

Racing

Popular Posts

Videos

» » Dasar - Dasar Mendesain Plugin Facebook Like Box
«
Next
Posting Lebih Baru
»
Previous
Posting Lama

Facebook adalah salah satu saran untuk mempromosikan website/blog. Anda dapat membuat halaman pada facebook dan mulai mempromosikan website/blog Anda. Sudah taukan apa itu facebook like box? Kalau belum tau berikut screen shotnya...





Gambar di atas adalah tampila plugin facebook standard. facebook hanya menyediakan 2 tampilan yaitu light dan dark. Bosen juga liat tampilan facebook like boxnya. Kali ini saya akan mendesain facebook like box sendiri dengan cara mengubah kode CSS nya. Mendesain plugin facebook ini bukan lah hal yang gambang. Langsung saja menuju materi hari ini.



1. Main Widget.



Main widget merupakan inti dari plugin ini, pada script bawaannya (default) terdapat dua pilihan warna yakni Light dan Dark. Berikut contoh tampilan main widget beserta CSS script yang sudah saya buat.





Berikut kode CSSnya

/* Main Widget */

.fan_box .full_widget{

height: 250px;

border: 2px solid #084E96;

background: #f2f2f2;

position: relative;

}




2. Top Element



Terdapat 3 atribut penting pada elemen ini, diantaranya Image Profile Page, Profil Page Name dan Connect Widget Button.





Keterangan :

  1. .connect_top

  2. .connect_action

  3. .profileimage

  4. .name_block

  5. .connect_widget,.connect_widget_interactive_area dan td.connect_widget_vertical_center



Berikut Kode CSSnya

/* Top Element */

.fan_box .full_widget .connect_top{

 border: 2px solid #f2f2f2;

 background: #FFEA02;

}

.fan_box .full_widget .connect_action{

background: #BDC7D8;

}

.fan_box .connect_action .profileimage {



}

.fan_box .connect_action .name_block{



}

.fan_box .connect_action .connect_widget{



}

.fan_box .connect_widget .connect_widget_interactive_area {

background: #FFBB00;

}

.fan_box .connect_widget td.connect_widget_vertical_center {

background: #109504;

}


3. Fans Connections



Disini anda akan melihat atribut Total Count User dan daftar User Profil (nama dan foto).





Keterangan:

  1. .connections

  2. .total

  3. .connections_grid

  4. .grid_item

  5. .name



Berikut kode CSSnya.

/* Fans Connection */

.fan_box .connections{

background: #A3D98A;

}

.fan_box .connections span.total{



}

.fan_box .connections .connections_grid {

background: #0281FF;

}

.fan_box .connections_grid .grid_item{

background: #FFE5FF;

}

.fan_box .connections_grid .grid_item .name{

color: #000;

}



/* 3 */



.fan_box .connections{

background: #A3D98A;

}

.fan_box .connections span.total{



}

.fan_box .connections .connections_grid {

background: #0281FF;

}

.fan_box .connections_grid .grid_item{

background: #FFE5FF;

}

.fan_box .connections_grid .grid_item .name{

color: #000;

}


Dengan keterangan atribut diatas akan sedikit mempermudah pengeditan CSS script untuk plugin Like Box yang akan anda desain.



Baca juga...

About Unknown

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
«
Next
Posting Lebih Baru
»
Previous
Posting Lama

Tidak ada komentar