Custom Buttons with images
- condorazul
-
Topic Author
- Offline
whe i change it on the css it changes the rest of the buttons, like log in.
Please Log in or Create an account to join the conversation.
If it does the change everywhere, that's because you don't use a CSS selector like on our demo website:
.hikashop_product_quantity_main .hikashop_product_stock .button {
color: #167E93;
font-weight: bold;
background-image: url(../images/add_cart.png);
background-repeat: no-repeat;
background-position: right;
height: 32px;
padding-right: 40px;
background-color: transparent;
cursor: pointer;
}
Please Log in or Create an account to join the conversation.
- Posts: 218
- Thank you received: 6
Please Log in or Create an account to join the conversation.
- condorazul
-
Topic Author
- Offline
.hikashop_product_quantity_main .hikashop_product_stock td a {
background-color: transparent;
background-image: url("../images/add_icono.png");
background-repeat: no-repeat;
color: #FFFFFF;
font-weight: bold;
margin-top: 3px;
padding: 3px 7.5px;
}
you can see an example here
www.lacestamagica.com/cestas-bebes/cestas-bebe-mantita.html
Please Log in or Create an account to join the conversation.
- Posts: 218
- Thank you received: 6
how did you get your thumbnail images below main product image to be so big?
Please Log in or Create an account to join the conversation.
- condorazul
-
Topic Author
- Offline
Please Log in or Create an account to join the conversation.
hikashop_product_quantity_field_change_plus and hikashop_product_quantity_field_change_minus
Please Log in or Create an account to join the conversation.
- Posts: 218
- Thank you received: 6
nicolas wrote: For the plus and minus buttons, you can use these CSS classes:
hikashop_product_quantity_field_change_plus and hikashop_product_quantity_field_change_minus
could you please put up the css code to have the icons instead of the + and -
Please Log in or Create an account to join the conversation.
.hikashop_product_quantity_field_change_plus{
background-image: url("../images/add_icon.png");
color: transparent;
}
Please Log in or Create an account to join the conversation.
- Posts: 218
- Thank you received: 6
Please Log in or Create an account to join the conversation.
.hikashop_product_quantity_field_change_plus{
width: 16px;
display: block;
height: 16px;
}
Please Log in or Create an account to join the conversation.
- Posts: 218
- Thank you received: 6
.hikashop_product_quantity_field_change_plus{
background-image: url("../images/cart_add.png");
color: transparent;
width: 16px;
display: block;
height: 16px;
}
.hikashop_product_quantity_field_change_minus{
background-image: url("../images/cart_delete.png");
color: transparent;
width: 16px;
display: block;
height: 16px;
}
and it now works
Please Log in or Create an account to join the conversation.
- Posts: 7
- Thank you received: 0
I could not find the CSS file used, do I look for it through the View or just go directly to the file, can you please tell me the name of the file or view.
Thanks
Please Log in or Create an account to join the conversation.
There are only two CSS files to edit, you can't miss them:
www.hikashop.com/en/support/documentatio...shop-config.html#css
Please Log in or Create an account to join the conversation.
- Posts: 7
- Thank you received: 0
.hikashop_product_quantity_field_change_plus{
background-image: url("../images/hkgeneral/quantity-add.png");
color: transparent;
width: 16px;
display: block;
height: 16px;
}
.hikashop_product_quantity_field_change_minus{
background-image: url("../images/hkgeneral/quantity-minus.png");
color: transparent;
width: 16px;
display: block;
height: 16px;
}
Thanks Again
Please Log in or Create an account to join the conversation.
Could you give a link to that page ?
Please Log in or Create an account to join the conversation.
- Posts: 7
- Thank you received: 0

Thanks
Please Log in or Create an account to join the conversation.