Home › Forums › WoodMart support forum › Customize the “add to cart” button
Customize the “add to cart” button
- This topic has 23 replies, 2 voices, and was last updated 8 months ago by Aizaz Imtiaz Awan.
-
AuthorPosts
-
March 27, 2024 at 10:59 pm #552876
admin-0676ParticipantHello,
As you can see in the image, the writing “add to cart” is poorly centered. How can I customize this?
I searched everywhere and couldn’t find how to configure this.
Thank you in advance for your help,
March 27, 2024 at 11:01 pm #552877
admin-0676ParticipantHere is the screenshot
Attachments:
You must be logged in to view attached files.March 27, 2024 at 11:05 pm #552879
admin-0676ParticipantNo, here is the good screenshot
Attachments:
You must be logged in to view attached files.March 28, 2024 at 1:42 pm #553054
Aizaz Imtiaz AwanKeymasterHello,
Can you please share the page URL I will check and give you a custom css code.
Best Regards
March 28, 2024 at 2:47 pm #553087
admin-0676ParticipantHere is the link
Thank you
March 28, 2024 at 3:41 pm #553114
Aizaz Imtiaz AwanKeymasterHello,
Please add below Custom CSS code to Theme Settings > Custom CSS > Global custom CSS:
.wd-add-btn-replace .add-to-cart-loop span { font-size: 12px; justify-content: left !important; }
Best Regards.
March 28, 2024 at 5:22 pm #553138
admin-0676ParticipantThanks, It works !
March 28, 2024 at 5:25 pm #553142
admin-0676ParticipantNow the problem has moved with this code. Products visible on the home page have a non-centered add to cart button.
As you can see in the following link.
Attachments:
You must be logged in to view attached files.March 28, 2024 at 6:10 pm #553169
admin-0676ParticipantAnd on mobile, here’s how it displays with the provided code
Attachments:
You must be logged in to view attached files.March 29, 2024 at 12:35 pm #553320
Aizaz Imtiaz AwanKeymasterHello,
Please remove the previous code and try using the below Custom CSS code and paste it to Dashboard >> Theme Settings >> Custom CSS >> Custom CSS for desktop:
.archive-pages, .wd-add-btn-replace .add-to-cart-loop span { font-size: 12px; justify-content: left !important; }
Best Regards.
March 29, 2024 at 1:42 pm #553341
admin-0676ParticipantHello
It’s always the same whether it’s on mobile or on products visible on the home page on a computer.
Attachments:
You must be logged in to view attached files.March 29, 2024 at 1:43 pm #553344
admin-0676ParticipantFor cell phones, the add to cart button appears like this on both the home and store pages
March 30, 2024 at 10:40 am #553493
Aizaz Imtiaz AwanKeymasterHello,
Can you please share the WP admin login details of your site so I will check and give you the possible solution.
Best Regards.
March 31, 2024 at 12:49 pm #553661
admin-0676ParticipantHello,
Here is the information:
April 1, 2024 at 12:40 pm #553820
Aizaz Imtiaz AwanKeymasterHello,
Sorry to say your admin login URL Redirect to the account page after login to your site So, i am unable to login your site. Please give me the site access so i will check and give you a possible solution.
Best Regards.
April 1, 2024 at 1:42 pm #553841
admin-0676ParticipantHello,
please find the requested information
April 1, 2024 at 3:31 pm #553877
Aizaz Imtiaz AwanKeymasterHello,
Sorry it is the same. Navigate to User section > All Users > Edit User which you have made me and enable the option Show Toolbar when viewing site
Best Regards.
April 1, 2024 at 4:40 pm #553906
admin-0676ParticipantYou should now be able to access it
April 1, 2024 at 4:41 pm #553907
admin-0676ParticipantThank you for your help
April 2, 2024 at 10:08 am #554077
Aizaz Imtiaz AwanKeymasterHello,
I have added the following code in Theme Settings > Custom CSS on your site. Check back your site and check the issue.
.archive-pages, .wd-add-btn-replace .add-to-cart-loop span { font-size: 12px !important; justify-content: center !important; }
And on the mobile device it is showing fine. If you want to change the products styles, Navigate to Theme Settings > Product Archive > Products Styles > Choose one of the hover effects for products
Best Regards
April 2, 2024 at 5:20 pm #554299
admin-0676ParticipantHello
Thank you for your help
In mobile version, I can’t change this despite the configuration change in theme settings as you indicated in your message
The green button is not present on the entire width of the product, it is not aesthetic
Attachments:
You must be logged in to view attached files.April 3, 2024 at 10:45 am #554465
Aizaz Imtiaz AwanKeymasterHello,
Please try using the below Custom CSS code and paste it to Dashboard >> Theme Settings >> Custom CSS >> Custom CSS for mobile section:
.wd-product.wd-hover-quick .wd-add-btn .add-to-cart-loop { width: 100% !important; } .wd-product.wd-hover-quick.wd-quantity-overlap .wd-add-btn .product_type_simple:before { padding-inline-end: 110px !important; }
Best Regards.
April 12, 2024 at 12:12 am #556667
admin-0676ParticipantHello,
There is always a slight delay on PC as you can see.
Can you fix this?Thanks
Attachments:
You must be logged in to view attached files.April 13, 2024 at 10:43 am #556994
Aizaz Imtiaz AwanKeymasterHello,
Can you please record a short video for better understanding to reproduce the issue on your site.
Best Regards.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register