Home › Forums › WoodMart support forum › How to change product category page & single product page "add to cart" button
How to change product category page & single product page "add to cart" button
- This topic has 13 replies, 2 voices, and was last updated 3 years, 2 months ago by Aizaz Imtiaz Awan.
-
AuthorPosts
-
September 11, 2021 at 4:16 am #317819
AnchorParticipantI want to increase the size of “add to cart” button & quanity input table in my shop product category and single product page, also increase the font size of “compare” “add to wishlist” link, SKU tag & Category tag.
See the screenshot link in the private content, marked in red arrow.
https://prnt.sc/1rsb2w1How to do that ?
September 11, 2021 at 7:11 am #317832
Aizaz Imtiaz AwanKeymasterHello,
Please try adding the following Custom CSS in the Global Custom CSS area under Theme Settings >> Custom CSS.
For Single Product page quantity and add to cart:
.single-product div.quantity input[type="button"] { min-width: 45px; } .single-product div.quantity input[type="number"] { width: 45px; } .product-image-summary .single_add_to_cart_button { width: 200px; }
For Wishlist and Compare:
.single-product .wd-action-btn.wd-style-text>a { font-size: 18px; }
For Categories and SKU:
.single-product .meta-location-add_to_cart .product_meta>span { font-size: 15px; }
Best Regards
September 11, 2021 at 7:55 am #317838
AnchorParticipantThank you, the code works, but I am not content with the result, the button width is long, but the height is short.
How to achieve the button circled effect like screenshot below, the input quantity form and button width don’t have to be the same.
https://prnt.sc/1rsx0hkSeptember 11, 2021 at 8:49 am #317847
Aizaz Imtiaz AwanKeymasterHello,
Please try adding the following Custom CSS in the Global Custom CSS area under Theme Settings >> Custom CSS.
.product-image-summary .single_add_to_cart_button { width: 200px; border-radius: 50px; height: 55px; } input.plus { border-top-right-radius: 20px !important; border-bottom-right-radius: 20px !important; } input.minus { border-top-left-radius: 20px !important; border-bottom-left-radius: 20px !important; }
Best Regards
September 11, 2021 at 10:14 am #317857
AnchorParticipantThe add to cart button doesn’t change at all, only the input quantity form changed to circled round effect
September 11, 2021 at 10:24 am #317860
Aizaz Imtiaz AwanKeymasterHello,
Please make sure that you have added the following Custom CSS in the Global Custom CSS area under Theme Settings >> Custom CSS.
.product-image-summary .single_add_to_cart_button { width: 200px; border-radius: 50px; height: 55px; }
If it still doesn’t work then provide the admin panel login details of the website.
Best Regards
September 11, 2021 at 10:32 am #317863
AnchorParticipantYes, I added all the code you sent, see screenshot.
https://prnt.sc/1rtdhx4September 11, 2021 at 11:23 am #317875
Aizaz Imtiaz AwanKeymasterHello,
Please provide the admin panel login details to let me assist you further.
Regards.
Xtemos Studios.September 14, 2021 at 1:42 am #318324
AnchorParticipantOK, please check link in the private content, you can login as admin without any password. The link would expire in 24hrs.
September 14, 2021 at 6:38 am #318364
Aizaz Imtiaz AwanKeymasterHello,
Your issue has been Resolved. Now the CSS is working.
Please clear cache and check back.
Best Regards
September 14, 2021 at 6:54 am #318365
AnchorParticipantThank you, sir, I also want to change the font size of the product tab like screenshot below
September 14, 2021 at 8:53 am #318421
Aizaz Imtiaz AwanKeymasterHello,
You are Most Welcome.
Please try adding the following Custom CSS in the Global Custom CSS area under Theme Settings >> Custom CSS.
.tabs-layout-tabs .tabs li a { font-size: 24px; }
Best Regards.
September 14, 2021 at 9:01 am #318425
AnchorParticipantAlso, I want the product tabs title showing capitalized letters, not upper-case letters.
September 14, 2021 at 11:16 am #318466
Aizaz Imtiaz AwanKeymasterHello,
Please try adding the following Custom CSS in the Global Custom CSS area under Theme Settings >> Custom CSS.
.tabs-layout-tabs .tabs li a { text-transform: capitalize; }
Best Regards
-
AuthorPosts
Tagged: add to cart button
- You must be logged in to create new topics. Login / Register