Author Topic: Problems with add to cart button  (Read 912 times)

trussik

  • Beginner
  • *
  • Posts: 8
Problems with add to cart button
« 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.



need help!

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27570
  • Always on vacation
    • Jenkin Hill Internet
Re: Problems with add to cart button
« Reply #1 on: April 15, 2011, 21:38:21 pm »
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.6.8.10202 on Joomla 3.9.13 PHP 7.0.33

trussik

  • Beginner
  • *
  • Posts: 8
Re: Problems with add to cart button
« Reply #2 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.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27570
  • Always on vacation
    • Jenkin Hill Internet
Re: Problems with add to cart button
« Reply #3 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.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.6.8.10202 on Joomla 3.9.13 PHP 7.0.33