This topic has 12 replies, 3 voices, and was last updated 5 years, 3 months ago ago by Rose Tyler
Hello,
We would like to modify the color and the text of notices that pop-up when you add the product to cart or modify it and also the colors of two buttons (the needed changes are attached in screenshots). Where can we make these modifications?
Best regards
Hello,
1) Provide mockups(screenshots) of the notices that you want to implement. We don’t have special options to edit these notices and it could be implemented by additional customization. To give you correct CSS code I need to know the final result you want to achieve.
2) Styles of the different types of the buttons you can change in Theme Options > Styling > http://prntscr.com/op68x4
Regards
Thank you for the quick response.
1. I am attaching the look we want to achieve with the boxes.
2. The buttons worked well, except the add to cart and the buttons in cart – they have the border but we put all the borders to none. Are the settings for those somewhere else?
Best regards and thank you for your help
Hello,
1) Customize the code according to the message type that you want to style.
.woocommerce-message {
background-color: #ddc178;
font-size:18px;
border-top: none !important;
display: flex !important;
align-items: center;
flex-direction: row-reverse;
justify-content: flex-end;
padding-left: calc(1.8em + 25px);
}
.woocommerce-message .button {
background-color: #fff !important;
padding: 7px 15px;
margin-left: auto;
font-size: 16px;
text-decoration: none;
}
.woocommerce-message:before {
color: #ffffff;
font-size:25px;
}
2) Add the border width 0. There is default border for the buttons that’s why you set borer-width 0 to remove it.
Regards
Thank you the CSS worked perfectly.
One more question regarding the cart – we would like to remove/hide return to the shop, update the cart and some shipping text (picture in the attachment)
Best regards and thank you for your help
Could you, please, provide URL of the cart page?
Regards
Our website is still on local server
Please try this custom CSS code:
.woocommerce-cart .woocommerce-shipping-destination,
.woocommerce-cart .actions .mob-center button, .woocommerce-cart .return-shop {
display: none;
}
Regards
Thank you for all your support, it worked perfectly.
You’re welcome!
Regards
One more question regarding the art: is it possible to just display the quantity without having the – and + button next to it (screenshot in attachment)?
.woocommerce-cart-form__cart-item div.quantity .minus,
.woocommerce-cart-form__cart-item div.quantity .plus {
display: none;
}
.woocommerce-cart-form__cart-item .quantity input[type="number"] {
border-left: 1px solid #e1e1e1;
border-right: 1px solid #e1e1e1;
}
Regards
You must be logged in to reply to this topic.Log in/Sign up