Jump to content

How can I set just width at picture?


Recommended Posts

oh, super. em.pe instruction work. thanks. but just for product list. i need it will work for pictures in product and thickbox.



You must edit global.css (from your theme):
#primary_block #image-block img#bigpic { 
   cursor: pointer; 
   height: 300px;
   width: 300px
}



For example: change height: 300px to height: auto

I didn't change sizes for thickbox, but I display original size (without "-large").
Here is the solution: http://www.prestashop.com/forums/viewthread/59761/#261012

Link to comment
Share on other sites

  • 4 weeks later...

You must also change (global.css):

#primary_block #image-block {
   border: #d0d1d5 solid 1px;
   height: 300px;
   width: 300px
}



to:

#primary_block #image-block {
   border: #d0d1d5 solid 1px;
   height: auto;
   width: 300px
}

Link to comment
Share on other sites

Hi em.pe,

thanks for your fast answer.
I see my request is a little different, I dont want the large height in the thumbnales (where the box with product descriptions becomes very large, like in his right photo). I just want my thumbnale pictures in the categories with productboxes a little wider (so all the productboxes have to be the same, only the thumbnales 25% larger or so.
And I also would like my pictures when zoomed out a little wider.

In css, I set the height to auto; like you said, but I think I should do it different right?
Changing height to 900, and width to 600, doesnt do the trick.
Should I also change that in BO -> preferences -> image?

Thanks in advance!
Don C.

Link to comment
Share on other sites

×
×
  • Create New...