Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / attribute options have gaps

attribute options have gaps

Locked

Views: 1,185

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
6 Jan 2009, 12:41 AM
#1
graniteman44 avatar

graniteman44

Zen Follower

Join Date:
Dec 2007
Location:
Michigan
Posts:
160
Plugin Contributions:
0

attribute options have gaps

I am using 1.3.7. and have an attribute for a type of product that is not lining up. There are spaces between each attribute as if there is an invisible attribute taking its place. Here is one of the pages that has the problem

http://monumentsplus.com/index.php?main_page=product_info&cPath=15_27_29&products_id=425

I would like to know how to make those gaps disappear. Thank you.

6 Jan 2009, 3:41 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: attribute options have gaps

My guess is two-fold

First you have four across and I suspect that there is not the room for 4 or that there is confusion as to the allocated space as ZenCart attempts to divide this equally but here are a few of your image dimensions:
width="90" height="87"
width="89" height="88"
width="86" height="86"
width="87" height="88"
width="88" height="89"

It might be erroring on these random widths...

Or there are other threads that deal with this allocation for other displays and you can search the threads for "floor" and try applying what you find to the tpl_product_info_display.php file for attributes or where the attributes display is called from

A side note: You should enable your parse display and record it for several and average...
Your pages load slowly

6 Jan 2009, 3:51 AM
#3
graniteman44 avatar

graniteman44

Zen Follower

Join Date:
Dec 2007
Location:
Michigan
Posts:
160
Plugin Contributions:
0

Re: attribute options have gaps

Thank you for responding Kobra. I had to change the attribImg width % in my css to accomodate attributes for another product that was only 3 columns wide but was meshing together. I can't seem to find a happy medium. I did set the size in the attribute controller but that doesn't seem to make a difference. No matter what number I use, the attributes images stay the same size.

6 Jan 2009, 3:59 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: attribute options have gaps

Akk!!! I do not think you can have one one-way and another another...

For the one posted this looks great

.attribImg {
	width: 20%;
6 Jan 2009, 4:13 AM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: attribute options have gaps

Back to my first thought - -

You have to standardize your attribute image widths and also for a particular item the heights

Make these 88-90 wide like the others and any else that you ma add later

6 Jan 2009, 4:24 AM
#7
graniteman44 avatar

graniteman44

Zen Follower

Join Date:
Dec 2007
Location:
Michigan
Posts:
160
Plugin Contributions:
0

Re: attribute options have gaps

thank you. I will try that. I have attributes for other products that require a larger image to show the detail. I thought that by setting the sizes in the attribute controller it could handle different layouts.