Home › Forums › WoodMart support forum › Make add to cart button fullsize
Make add to cart button fullsize
- This topic has 15 replies, 3 voices, and was last updated 4 years, 2 months ago by Aizaz Imtiaz Awan.
-
AuthorPosts
-
August 11, 2020 at 9:07 pm #218061
vuhoangParticipantHow to make add to cart button on product page full size. ( Full width )
Like thiss:
https://prnt.sc/ty0do5Thanks.
August 12, 2020 at 7:39 am #218121
Aizaz Imtiaz AwanKeymasterHello,
I saw the screenshot you attached. Please try adding the following Custom CSS in the Global Custom CSS area under Theme Settings >> Custom CSS.
.single_add_to_cart_button { width: 100%; }
Regard’s.
Xtemos Studio.August 15, 2020 at 4:53 pm #218988
vuhoangParticipantThanks for reply. But How to keep it same line with quantity button.?
Your css working, but it make add to cart button full width other line.
I want make it full width and keep it same line.August 17, 2020 at 7:37 am #219176
Aizaz Imtiaz AwanKeymasterHello,
Please delete the old given CSS and try adding the following Custom CSS in the Global Custom CSS area under Theme Settings >> Custom CSS.
.single_add_to_cart_button { width: 83%; }
Regard’s.
Xtemos Studio.August 18, 2020 at 10:33 am #219484
vuhoangParticipantHello. Thanks for your reply
But Look like it working only desktop.
How to make it same in mobile and table?
Thanks.August 18, 2020 at 11:43 am #219511
Aizaz Imtiaz AwanKeymasterHello,
You are Most welcome.
Please move the CSS code you added in the Global Custom CSS area to Custom CSS for Desktop area under Theme Settings >> Custom CSS then add the following Custom CSS in the
Custom CSS for Mobile area under Theme Settings >> Custom CSS.
.single_add_to_cart_button { width: 71%; }
Best Regards.
August 21, 2020 at 10:46 pm #220396
BaBaBakerParticipantHello
I hope its fine to help others here 🙂this code works with desktop and mobile 🙂
.entry-summary form{ display:flex; } /* Button */ .product-image-summary-wrap .product-image-summary .product-image-summary-inner .entry-summary .summary-inner .cart .single_add_to_cart_button{ width:100% !important; }
August 22, 2020 at 5:57 am #220438
Aizaz Imtiaz AwanKeymasterHello,
@BaBaBaker Thanks for your involvement. Your solution might be helpful for someone who is trying to achieve the same for the add to cart button.Best Regards.
September 24, 2020 at 6:15 pm #228778
vuhoangParticipantHello.
I still need this.
It not working on mobile. I try both of css.
Please help me check it.
Thank you.September 25, 2020 at 7:12 am #228842
Aizaz Imtiaz AwanKeymasterHello,
Please provide admin panel login details of the website to check it myself and help you out accordingly.
Best Regards.
October 2, 2020 at 3:07 pm #230506
vuhoangParticipantHello.
I see problem when we access on Iphone/IOS.(Chrome and Safari). It not working.
But it working in Android phone.
I give you information.
ThanksOctober 3, 2020 at 6:33 am #230599
Aizaz Imtiaz AwanKeymasterHello,
Please provide admin panel login details of the website to check it myself and help you out accordingly.
Best Regards.
October 3, 2020 at 6:54 am #230602
vuhoangParticipantYes. I sent it. Please help me check.
Thank you.October 3, 2020 at 10:40 am #230636
Aizaz Imtiaz AwanKeymasterHello,
Your issue has been resolved now the add to cart button is full with the quantity button.
Please deactivate cache plugin, clear browser cache and check back.
Screenshot for Clarification: https://ibb.co/jrhf4JD
Best Regards.
October 3, 2020 at 4:36 pm #230683
vuhoangParticipantHello.
Thanks for you help. Lock like it working on Chrome.
But it still not working on safari on IOS.
And can you tell me how you fix it?
Thank you.October 5, 2020 at 9:39 am #230945
Aizaz Imtiaz AwanKeymasterHello,
I have checked the site on IOS Safari as well and the button is showing fine fullwidth. Please check the site on any other iPhone in the Safari browser. I am sure you will not find any issue. Please see the video from the link below:
https://streamable.com/xc0h0zBest Regards.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register