- Posts: 4
- Thank you received: 0
Customize the ADD TO CART Button without changing all buttons from the checkout
9 years 9 months ago - 9 years 9 months ago #263152
by lostweb
Customize the ADD TO CART Button without changing all buttons from the checkout was created by lostweb
So I want to put an image on the "add to cart" button instead of the text.
In order to do that I separated
in the CSS file (frontend_custom.css) and added my own layout. But apparently all buttons from the checkout procedure are the same class .hikashop_cart_input_button so changing the layout of the 'add to cart" button will change the layout of all buttons from the checkout procedure (shipping address, payment....)
Is there an attribute or other selector for this "add to cart" button only, in order to change it's layout?
If not, in what file exactly is the mark up for this button so I can add manually an id ?
In order to do that I separated
Code:
.hikashop_cart_input_button
Is there an attribute or other selector for this "add to cart" button only, in order to change it's layout?
If not, in what file exactly is the mark up for this button so I can add manually an id ?
Last edit: 9 years 9 months ago by lostweb.
Please Log in or Create an account to join the conversation.
9 years 9 months ago #263157
by nicolas
Replied by nicolas on topic Customize the ADD TO CART icon without changing all icons from the checkout
Hi,
Sure. For example, on the product page, you can use that CSS:
.hikashop_product_page .hikashop_cart_input_button{
// your CSS
}
Sure. For example, on the product page, you can use that CSS:
.hikashop_product_page .hikashop_cart_input_button{
// your CSS
}
Please Log in or Create an account to join the conversation.
9 years 9 months ago #263274
by lostweb
Replied by lostweb on topic Customize the ADD TO CART icon without changing all icons from the checkout
thanks Nicolas, it works!
Please Log in or Create an account to join the conversation.
Time to create page: 0.054 seconds