VirtueMart Forum

VirtueMart 1.1.x [ Old version - no longer supported ] => Themes & Layout Problems and Customization VM 1.1 => Topic started by: trussik on April 15, 2011, 11:56:09 am

Title: Problems with add to cart button
Post by: trussik on April 15, 2011, 11:56:09 am
Hello, i got a new nice theme for my site but now i have problem with the add to cart box. Before, my template was enough wide that problems did not appear but now i would like to decrease the box size
i have made 2 pictures, one is the box shown right now, and second is what i would like it to be.

I can see the add to cart button area width is about 158px, but i cant find the code to change that.
(http://capo.ee/box1.jpg)
(http://capo.ee/box2.jpg)

need help!
Title: Re: Problems with add to cart button
Post by: jenkinhill on April 15, 2011, 21:38:21 pm
Have you read this? http://forum.virtuemart.net/index.php?topic=62576.0
Title: Re: Problems with add to cart button
Post by: trussik on April 15, 2011, 22:24:15 pm
update 1.1.7 to 1.1.8 will solve my problem?

hope thereĀ“s another way like just modifying some file or code.
Title: Re: Problems with add to cart button
Post by: jenkinhill on April 16, 2011, 13:26:35 pm
Sorry - wrong link. Should have been http://forum.virtuemart.net/index.php?topic=73348.0  (trying to answer too many questions in too little free time).

You will find that you need to edit the style for .addtocart_button, .notify_button where the width is initially set to 160px.