VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: designsap on January 07, 2014, 19:07:17 PM

Title: Seeing double on products muliptles
Post by: designsap on January 07, 2014, 19:07:17 PM
Hi all, I have just installed VM 2.0.26 on my site and have an issue with it showing an additional + & - on the product page see http://www.lancashireled.co.uk/led-bulbs/grenworld-gls-6w-bayonet-dimmable-detail.html at the side of the box where the user can add or remove product quantities, can anybody help?

Thanks
Title: Re: Seeing double on products muliptles
Post by: jenkinhill on January 10, 2014, 12:08:28 PM
The problem is with your text.css file  ( <link rel="stylesheet" type="text/css" href="/templates/encore/css/text.css" media="screen" /> )

It has this definition:

.button, button, a.button, a.product-details, input.addtocart-button, a.ask-a-question, .highlight-button, .vm-button-correct, span.quantity-controls input.quantity-plus, span.quantity-controls input.quantity-minus {
    border: 0 none;
    border-radius: 0;
    box-shadow: none;
    cursor: pointer;
    font-family: Arial,Helvetica,sans-serif !important;
    font-size: 14px;
    font-weight: 300;
    padding: 6px 15px;
    text-decoration: none;
    text-transform: none !important;
    transition-duration: 0.2s;
    transition-property: background-color !important;
    vertical-align: middle;
}

where removing the line  padding: 6px 15px;  reduces the quantity adjust to just one. You will have to play with the values to make the spacing correct, though.
Title: Re: Seeing double on products muliptles
Post by: designsap on January 17, 2014, 10:30:18 AM
Thanks Kelvyn, worked a treat once I finally got it into my head...much appreciated

Dave