Virtuemart button difference

GK User
Fri Aug 09, 2013 10:56 am
Hello!

The add to cart buttons on the pages that use the VM custom field with stock control is a little broken:
BROKEN add to cart: http://mustkast.ee/mesmorelle1/en/shop/ ... mesmorelle
WORKING (correct) add to cart: http://mustkast.ee/mesmorelle1/en/shop/ ... mesmorelle

Help!?

Anti
User avatar
Junior Boarder

GK User
Fri Aug 09, 2013 11:06 am
Please edit: /templates/gk_boutique/css/override.css and add at its end:
Code: Select all
.productdetails-view .addtocart-button > input {
    background: url("../images/vm/shopping_cart.png") no-repeat scroll 14px 50% #AF8F4B;
    font-size: 12px ;
    padding: 0px 10px 3px 40px ;
}

Remember to enable "CSS override" in template settings - advanced section.
User avatar
Moderator

GK User
Fri Aug 09, 2013 11:10 am
Hei Cyberek!

Thanks, it fixed the add to cart button. But there are still two black boxes (for quantity?). I do not need them and You cannot see them on the WORKING add to cart link.

How to remove those as well?

Anti
User avatar
Junior Boarder

GK User
Fri Aug 09, 2013 11:16 am
I think I fixed it with:
Code: Select all
.productdetails-view .quantity-controls {
    display: none;
}

It works but is it correct?

Anti
User avatar
Junior Boarder

GK User
Fri Aug 09, 2013 9:51 pm
Yes, You can hide this way almost any element.
User avatar
Moderator


cron