Jump to content

[help] cara melebarkan center-colomn pada halaman index saja.


yudhi91

Recommended Posts

ane sedang customiz halama utama agar tidak ada right & left column tapi di halaman yang lainnya right&left columnya tetap ada, itu sudah lalukan nah masalah sekarang cara melebarkan column_center bagaimana ya ?

kalau edit di global.css akan merusak halaman lainnya.

 

tolong pencerahannya para sepuh ps.

Link to comment
Share on other sites

1. bisa pake javascript/jquery

2. ato pake kode gini, di taro di sesudah load global.css

 

 

{if $Page_name=='index'}
<link href="{$css_dir}lebarin.css" rel="stylesheet" type="text/css" media="screen" />
{/if}

 

isi lebarin.css, misal:

 

#center_column {width:700px}

 

 

nah klo pasang script jquery di prestashop gmn gan ?

 

untuk cara yang ke 2 itu bikin file css lagi ya,. nah maksudnya script ini

{if $Page_name=='index'}
<link href="{$css_dir}lebarin.css" rel="stylesheet" type="text/css" media="screen" />
{/if}

di taro sesudah load global.css gimana gan di taro di file apa ?

 

maklum masih newbi gan masih harus banyak belajar tolong ya :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...