Alignment of Add to Cart and Price

Support for coding, modules or other software issues
Post Reply
Beachgirl
Posts: 51
Joined: Wed Oct 20, 2010 4:57 pm
Location: USA

Alignment of Add to Cart and Price

Post by Beachgirl » Sun Nov 28, 2010 7:12 pm

Is it possible to get the Price and Add to Cart aligned in a identical uniformed row on the bottom of the column rows?
Since some of my product titles are 2-3 lines, it throws them off (example: http://demure.co/)

User avatar
leo
admin
Posts: 4320
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: Alignment of Add to Cart and Price

Post by leo » Mon Nov 29, 2010 2:30 am

Check E-Cart with Firebug. I have added there <div>-s for product names + little play with the css.
Attachments
Demure_1291022931738.png
Demure_1291022931738.png (135.67 KiB) Viewed 5409 times

Beachgirl
Posts: 51
Joined: Wed Oct 20, 2010 4:57 pm
Location: USA

Re: Alignment of Add to Cart and Price

Post by Beachgirl » Tue Nov 30, 2010 11:00 am

Yay ... I finally got it.

Added a class to catalog/template/default/shared/multiple_columns

Code: Select all

<div class="name"><b><a href="<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a><br></b></div>
CSS

Code: Select all

.module_content .name {
	padding: 0px;
	margin: 0px;
	height: 40px;
}
Thanks for your help Leo

Post Reply