Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Get attributes option a lot closer to image

Get attributes option a lot closer to image

Locked

Views: 661

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
19 Sep 2010, 8:04 AM
#1
fw541c avatar

fw541c

Zen Follower

Join Date:
Aug 2010
Posts:
202
Plugin Contributions:
0

Get attributes option a lot closer to image

i would like to move my attributes above the Add to cart button section on the right. i added:
#productAttributes {
float: right;
width: 70%;
}
to my style sheet and the attributes ended up in the middle. i point in the right direction would be appreciated. thank you

http://notoriousarc.com/index.php?main_page=product_info&cPath=1_3&products_id=3

19 Sep 2010, 8:08 AM
#2
fw541c avatar

fw541c

Zen Follower

Join Date:
Aug 2010
Posts:
202
Plugin Contributions:
0

Re: Get attributes option a lot closer to image

If i could just get the attributes to stay where they are but bring them up to the same level as the Model Name i would be very happy with that

19 Sep 2010, 11:53 AM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Get attributes option a lot closer to image

You could do it like this:

#productAttributes {
float:right;
margin-top:-17em;
margin-right:2.2em;
}

(notice that's a negative 17em), but it would be better to move the code block for the attributes in tpl_product_info_display.php to above the Add to Cart button code and then play with the margins/padding in the stylesheet.