VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: lizybloom on April 16, 2012, 17:33:55 PM

Title: How to move the 'addtocart' button
Post by: lizybloom on April 16, 2012, 17:33:55 PM
Hello,

I would like to completely design my own product layout page and then just have the add to cart button.  I figured out how to do this by changing the Product Layout to default_addtocart.  But the problem is it just inserts the button left justified.  I would like it at the bottom but right justified.  Is this possible?  Or in the alternative, is there anyway to just insert this button into a joomla module?

thanks in advance

my product page is here:  http://www.zemasfoods.com/cinnamon-oatmeal-apple-muffin-mix
Title: Re: How to move the 'addtocart' button
Post by: Yannick on April 16, 2012, 18:01:21 PM
Hey,

try the following...

1) open this file:
http://www.zemasfoods.com/components/com_virtuemart/assets/css/vmsite-ltr.css

2) find  this code line 43
.addtocart-bar {

3) add this code in the class
float: right;

4) smile (I hope  8) )
Title: Re: How to move the 'addtocart' button
Post by: lizybloom on April 16, 2012, 18:28:45 PM
Totally worked.  Thanks! :)