Forums / Customization from the Admin / Number of attributes per row

Number of attributes per row

Locked

Started by ckosloff on 28 Sep 2008, 4:51 AM · Views: 4,765

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
28 Sep 2008, 4:51 AM
#1
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Number of attributes per row

I know there is a setting in Admin for this, but I can't find it.
Thanks.

[argentiniansupermarket.com

](http://argentiniansupermarket.com)

28 Sep 2008, 3:23 PM
#2
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: Number of attributes per row

Never mind, I found it.
Admin --> Catalog --> Option Name Manager, click the edit button on the option name of your choice to select display settings.
PS: Just needed some sleep.

[argentiniansupermarket.com

](http://argentiniansupermarket.com)

28 Sep 2008, 11:02 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Number of attributes per row

Thanks for posting the update and where you located this setting ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

29 Sep 2008, 2:13 AM
#4
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: Number of attributes per row

Ajeh:

Thanks for posting the update and where you located this setting ... :smile:
He, now that I got you hooked up, you are going to help me with another (similar) problem.
I have 5 color attributes per row for the color Option Name, you can see this on the live site.
I am now changing layout, so in the test site I turned off some sideboxes on the right column, and moved the remaining ones to the left.
Next, I turned the right column globally off, so I should have more room for my attributes to stretch across.
However, they don't, there is just more blank space in between.
When setting "Number of attribute images per row" to 6, for example, I get a row of 5 images, then a row of 1!
The pattern continues.
How do I get the blank space in between the images to be smaller so they won't overlap?
Thanks.

[argentiniansupermarket.com

](http://argentiniansupermarket.com)

29 Sep 2008, 2:23 AM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Number of attributes per row

That could be style related or the size of the images ...

That is not my forte ... I just write the code so that the feature to use the changes work ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

29 Sep 2008, 1:43 PM
#7
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: Number of attributes per row

Thanks everybody for the help.
The answer to this problem is indeed in the thread pointed out by misty and it is style-related.
In main stylesheet look for:
/Attributes/
.attribImg img{
width: 20%;
margin: 0.3em 0em;
}
By playing around with the width you can set the amount of "blank space" in between the attribute images.
I set mine to 10% and could go from 5 to 9 images per row.
As I have lots of attribute images, the end result is shorter pages, less scrolling.

[argentiniansupermarket.com

](http://argentiniansupermarket.com)

29 Sep 2008, 2:27 PM
#8
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Number of attributes per row

Pleased to hear problem solved..
Well Done !!
:clap:

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

23 Oct 2009, 5:25 PM
#10
slomojojo avatar

slomojojo

Zen Follower

Join Date:
Feb 2009
Posts:
142
Plugin Contributions:
0

Re: Number of attributes per row

I think the answer is in post #2 of this thread:

Go to:
Admin --> Catalog --> Option Name Manager, click the edit button on the option name of your choice to select display settings.

Change the entry in "Attribute Images per Row:"