News:

Looking for documentation? Take a look on our wiki

Main Menu

Seeing double on products muliptles

Started by designsap, January 07, 2014, 19:07:17 PM

Previous topic - Next topic

designsap

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

jenkinhill

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.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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

designsap

Thanks Kelvyn, worked a treat once I finally got it into my head...much appreciated

Dave