Jump to content

Theme Prestashop dengan background images beda-beda untuk setiap menu dan product category


Recommended Posts

Adakah yang tahu cara untuk membuat setiap menu dan product category itu menampilkan themes background nya beda-beda? dan apakah ada contoh situs yang berhasil untuk itu?

(translation in english):
Is there anyone knows how to make each menu and each product category on prestashop can displays the difference background images? and whether there are examples of successful sites for it?

Link to comment
Share on other sites

category.php, line 11, perhatiin kode berikut ..

$css_files = array(__PS_BASE_URI__.'css/jquery.cluetip.css' => 'all', _THEME_CSS_DIR_.'scenes.css' => 'all');



di baris 28 nya nambahin css ke masing kategori...

$css_files[] = array( _THEME_CSS_DIR_.'category-'.$category->id.'.css' => 'all');



terus buat deh file2 css bdsk kategori id. misal category-1.css,category-2.css dst. ..

simple kan ya ?

Link to comment
Share on other sites

×
×
  • Create New...