Jump to content

Cara melebarkan kolom "featured products"


Recommended Posts

Mas bro... mau tanya caranya melebarkan kolom di featured products bagaimana ya? soalnya kok keliatan terlalu ramping.

 

O ya, untuk kolom yang sebelah kanan di prestashop saya sudah saya hilangkan dengan memindahkan hook ke kiri & melebarkan kolom yang tengah, tapi efeknya featured kolomnya jadi keliatan ceking gitu....

 

Please yaaa... newbi neh

Edited by Guvee (see edit history)
Link to comment
Share on other sites

buka file global.css

lalu sesuaikan nilai lebar block yang dinginkan pada bagian :

 

global.css (line 238)

 

#center_column {
margin: 0 0 30px;
overflow: hidden;
width: 536px; /* nilai width disini disesuaikan */
}

 

 

global.css (line 831) :

 

#center_column div.block {
margin: auto;
width: 536px; /* nilai width disini disesuaikan */
}

 

 

Jangan lupa juga untuk mengatur module homefeatured dan merubah nilai jumlah items per line nya pada file

 

homefeatured.tpl (line 33)

 

{assign var='nbItemsPerLine' value=4}

Link to comment
Share on other sites

  • 1 month later...
  • 2 months later...

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...