Xavier wrote: Hi pina,
Try these properties:
#hikashop_product_quantity_field_change_minus{
padding-left: 18px;
}
.hikashop_product_quantity_main .hikashop_product_stock .hikashop_product_quantity_field{
margin-left: 8px;
}
the last one worked, thanks
I'm sorry for bothering you, but then I tried to customize the add to cart button. The problem is now that it's always using the css of the plus minus quantity field to customize the add to cart button. I can't figure out why...
The css for the plus minus is as follows:
.hikashop_product_stock td a {
color: #ffffff;
font-size: 10px;
text-decoration: none;
background: url(../images/plusmin.png) no-repeat center;
font-weight: bold;
padding-left: 5px;
padding-right: 5px;
padding-top: 3px;
padding-bottom: 3px;
margin-top: 3px;
}
the css for the add to cart button is the standard one:
a.hikashop_cart_button, a.hikashop_cart_button:hover, a.hikashop_compare_button, a.hikashop_compare_button:hover{
background-image:url(../images/button.jpg);
border:1px solid #f84489;
color:#000000;
font-family:Verdana,Arial,Helvetica,sans-serif;
font-size:9px;
padding:5px 8px;
text-decoration:none;
cursor:pointer;
float:left;
white-space:nowrap;
So why is hikashop using the plus-minus css to determine the add to cart button? When I disable the plus minus-css, then the add to cart button is being shown correctly... My guess is that it has something to do with the "a" but as far as I know, the "a" in the css only applies to that class, so I don't understand why it affects other classes too...