Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / funny arrangement in New Products

funny arrangement in New Products

Locked

Views: 612

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
17 May 2010, 6:10 AM
#1
jenpen avatar

jenpen

Zen Follower

Join Date:
Sep 2007
Location:
Far South Coast, NSW, Australia
Posts:
427
Plugin Contributions:
0

funny arrangement in New Products

Hey, can anyone tell me why my New Products are displaying 1 or 2 to a row instead of 3? I know this has been answered before but do you think I can find it?
http://www.nzfur.com.au/
TIA Jen

17 May 2010, 6:14 AM
#2
jenpen avatar

jenpen

Zen Follower

Join Date:
Sep 2007
Location:
Far South Coast, NSW, Australia
Posts:
427
Plugin Contributions:
0

Re: funny arrangement in New Products

Should have said, Admin > Index listing > New Products Columns per Row is set to 3. It's something to do with this template I think (Dezina Advent), and the width assigned, but can't remember how to fix.

17 May 2010, 6:18 AM
#3
aliepinieks avatar

aliepinieks

Zen Follower

Join Date:
Jun 2009
Location:
Brisbane, QLD AUS
Posts:
209
Plugin Contributions:
0

Re: funny arrangement in New Products

two possible reasons i can think of:

  1. you have the admin setting Configuration\Maximum Values\New Products Module set to 2
  2. you have applied padding or margins to the css style ".centerBoxContentsNew", or something near it, that is forcing the containers (which are floated I believe) to exceed the size of the container that holds them. these container widths are calculated in the new_products.php module, which does not take any additional css such as padding into consideration. in the case of padding, it is not applied consistently across all browsers (some add it to the container width, some include it). if the padding is added, the natural reaction of the browser will be to wrap the content to ensure the parent container is not compromised, and hence you finish up with one less item in your row. in some cases this might even hide the content depending on the positioning you are using and so forth.

andrejs

17 May 2010, 6:22 AM
#4
jenpen avatar

jenpen

Zen Follower

Join Date:
Sep 2007
Location:
Far South Coast, NSW, Australia
Posts:
427
Plugin Contributions:
0

Re: funny arrangement in New Products

You were dead right ALiepinieks - no. 2 suggestion. All fixed - thanks.