Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Would like to attribute image layout order

Would like to attribute image layout order

Locked

Views: 2,156

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
31 Jul 2007, 4:16 PM
#1
canemasters avatar

canemasters

Zen Follower

Join Date:
Mar 2007
Posts:
444
Plugin Contributions:
0

Would like to attribute image layout order

When I add a couple of images for wood types, they are being stacked on top of each other, which makes my page longer. I'd like them to lay out 3 in a row before droping to the next row.

Example:
http://209.85.82.163/index.php?main_page=product_info&cPath=9&products_id=118

You can see how hickory is above oak. I'd like oak to be to the right of hickory, not below it.

Thank you!

31 Jul 2007, 4:19 PM
#2
canemasters avatar

canemasters

Zen Follower

Join Date:
Mar 2007
Posts:
444
Plugin Contributions:
0

Re: Would like to attribute image layout order

Sorry about the topic.. forgot a word! oops :wacko:

31 Jul 2007, 4:36 PM
#3
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,643
Plugin Contributions:
0

Re: Would like to attribute image layout order

Admin> Catalog> Option Name Manager> Choose the group you want to change, click edit - then change the number of rows and choose the layout.

31 Jul 2007, 4:48 PM
#4
canemasters avatar

canemasters

Zen Follower

Join Date:
Mar 2007
Posts:
444
Plugin Contributions:
0

Re: Would like to attribute image layout order

Thank you Kim!

31 Jul 2007, 5:19 PM
#5
canemasters avatar

canemasters

Zen Follower

Join Date:
Mar 2007
Posts:
444
Plugin Contributions:
0

Re: Would like to attribute image layout order

One more thing, I'd like some spacing between the images so they aren't all crammed together. I didn't see anywhere where I could do that in the attributes. Thanks!

31 Jul 2007, 5:42 PM
#6
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,643
Plugin Contributions:
0

Re: Would like to attribute image layout order

Stylesheet is the place to do that.

31 Jul 2007, 9:13 PM
#7
canemasters avatar

canemasters

Zen Follower

Join Date:
Mar 2007
Posts:
444
Plugin Contributions:
0

Re: Would like to attribute image layout order

I've got the web developer plugin for firefox, but it isn't giving me any info about where to modify that section.

1 Aug 2007, 3:57 PM
#8
canemasters avatar

canemasters

Zen Follower

Join Date:
Mar 2007
Posts:
444
Plugin Contributions:
0

Re: Would like to attribute image layout order

I've torn thru the css looking for an area to modify to give me some spacing between attribute images, but am lost. Under the Option names section, when I click "edit" next to my attribute name, I see:

            **NOTE: Rows, Display Size and Max Length are for Text Attributes Only:**

I'm not using a text attribute to show images, but a dropdown menu.

You can check out what I'm trying to change here:
http://209.85.82.163/index.php?main_page=product_info&cPath=9&products_id=118

1 Aug 2007, 5:24 PM
#9
ajeh avatar

ajeh

Oba-san

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

Re: Would like to attribute image layout order

Looks like it is using:

<div class="attribImg">

Many classes are coded for on the templates but may not have specific settings in the stylesheet yet ...

These can always be added by you ...

1 Aug 2007, 7:24 PM
#10
canemasters avatar

canemasters

Zen Follower

Join Date:
Mar 2007
Posts:
444
Plugin Contributions:
0

Re: Would like to attribute image layout order

Thats the problem... I need to teach myself css I guess. haven't had a need to learn it until I started using zc.

I guess I basically need to add:

.attribimg {
spacing: 1em;
}

... or something like that to my stylesheet?

Is there some type of map or something that points out what part of the style sheet is responsible for changing different areas in zc?

1 Aug 2007, 7:40 PM
#11
canemasters avatar

canemasters

Zen Follower

Join Date:
Mar 2007
Posts:
444
Plugin Contributions:
0

Re: Would like to attribute image layout order

no, I did that and it did nothing. I'll keep playing... There's gotta be a way to put a space in between those images though.

Thank you for all the help!

1 Aug 2007, 7:50 PM
#12
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,643
Plugin Contributions:
0

Re: Would like to attribute image layout order

spacing is NOT a valid modification - you need to use padding or margins

http://www.w3schools.com/