Home › Forums › WoodMart support forum › CSS Add to Cart Landing Page
CSS Add to Cart Landing Page
- This topic has 5 replies, 2 voices, and was last updated 2 days, 17 hours ago by
kruajeng.
-
AuthorPosts
-
March 27, 2025 at 8:42 pm #649696
kruajengParticipantHello,
I’d like to make CSS ‘Add to Cart‘ button appearance consistent with the Landing PageAttachments:
You must be logged in to view attached files.March 27, 2025 at 8:45 pm #649699
kruajengParticipantIn the search field
class=”product woocommerce add_to_cart_inline ”March 28, 2025 at 11:31 am #649808
Aizaz Imtiaz AwanKeymasterHello,
Please try to use the below custom CSS code and paste it to Theme Settings >> Custom CSS >> Global CSS section. Change the value as per your requirements.
.dgwt-wcas-pd-addtc .add_to_cart_button, .dgwt-wcas-pd-addtc .add_to_cart_inline { background-color: #f2552c; border-radius: 5px; min-height: 36px; width: 30px; }
Best Regards,
March 28, 2025 at 12:58 pm #649861
kruajengParticipantHello , Aizaz Imtiaz Awan
I want to insert this shopping cart font to replace the emoji
font-size: 20px;
transition: opacity .15sease, transform .25sease;
content: “\f123”;
font-family: “woodmart-font”;Thank you
March 28, 2025 at 3:46 pm #649926
Aizaz Imtiaz AwanKeymasterHello,
It seems like you might be using a plugin to add this functionality. Could you please let me know which plugin you’re using? Also, if possible, kindly share the login details so I can take a closer look and assist you further.
Best Regards,
March 28, 2025 at 6:26 pm #649981
kruajengParticipantHello,
.dgwt-wcas-pd-addtc .add_to_cart_button, .dgwt-wcas-pd-addtc .add_to_cart_inline {
background-color: #f2552c;
border-radius: 5px;
min-height: 36px;
width: 45px;
}.dgwt-wcas-pd-addtc .add_to_cart_button:hover {
background-color: rgb(255, 145, 0) !important;
color: #fff;
cursor: pointer;
}.add-to-cart-loop::before {
content: “\f123”;
font-family: “woodmart-font” !important;
transform: translateY(0);
opacity: 1;
display: flex;
align-items: center;
justify-content: center;
font-weight: 400;
font-size: 20px;
transition: opacity .15sease, transform .25sease;
color: #fff;
}.add-to-cart-loop span {
display: none;
}.dgwt-wcas-details-space .added_to_cart {
font-size: 0 !important;
line-height: normal !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
width: auto !important;
overflow: hidden !important;
padding: 7px 12px 5px;
}.dgwt-wcas-details-space .added_to_cart::before {
transform: translateY(0);
opacity: 1;
display: inline-flex;
align-items: center;
justify-content: center;
font-weight: 400;
font-size: 20px;
transition: opacity .15sease, transform .25sease;
content: “\f123”;
font-family: “woodmart-font” !important;
color: #fff !important;
padding: 0 !important;
margin-right: 0 !important;
}I’ve already added the CSS code you recommended,
but there’s an issue with the animation during the product purchase loading process.How should I fix it?
Attachments:
You must be logged in to view attached files. -
AuthorPosts
- You must be logged in to create new topics. Login / Register