Home New Guten › Forums › WoodMart support forum › How to configure the buttons on the flyout cart view
How to configure the buttons on the flyout cart view
- This topic has 15 replies, 2 voices, and was last updated 3 months, 2 weeks ago by
hey3212.
-
AuthorPosts
-
May 1, 2025 at 9:30 am #657699
hey3212Participanthi,
when you click the cart button on the main nav menu, a flyout cart view will appear. There are two buttons at the bottom. How to configure these two with the same hover actions and shapes?
Attachments:
You must be logged in to view attached files.May 1, 2025 at 9:35 am #657706
hey3212ParticipantI want the view cart button to be blue with black text static and then change to black with white text when hovering. Attached.
Attachments:
You must be logged in to view attached files.May 1, 2025 at 3:53 pm #657806
Hung PhamKeymasterHi hey3212,
Thanks for reaching to us.
Please use below code:
.woocommerce-mini-cart__buttons a.btn-cart{ background-color: var(--btn-default-bgcolor-hover); } .woocommerce-mini-cart__buttons a.btn-cart:hover{ background-color: #000; color: #fff; }
Regards,
May 1, 2025 at 4:42 pm #657817
hey3212Participantthank you very much. It worked, except that the “view cart” button text is dark grey. Could you make it black? The blue color code is 87CEEB btw. And the checkout button below, it should be “Check Out” two words for an action, not checkout as it is displayed currently. Could you make that change too.
Attachments:
You must be logged in to view attached files.May 2, 2025 at 11:04 am #657937
Hung PhamKeymasterHello hey3212,
1. Please remove above code and use below one:
.woocommerce-mini-cart__buttons a.btn-cart{ background-color: var(--btn-default-bgcolor-hover); color: #000; } .woocommerce-mini-cart__buttons a.btn-cart:hover{ background-color: #000; color: #fff; }
2. Change text
In order to change / translate words. Please make sure you synced the strings first before changing / translating WooCommerce, WordPress Cores file, WoodMart Core plugins and WoodMart theme. You can refer to articles and video:
https://xtemos.com/docs-topic/theme-translation/
https://xtemos.com/docs-topic/how-to-make-woodmart-multilingual-with-wpml/https://www.youtube.com/watch?v=H7zUPEACLRQ
Best Regards,
May 5, 2025 at 9:56 am #658300
hey3212ParticipantThanks a lot. The codes work well. How to navigate to the translation interface?
May 5, 2025 at 10:56 am #658314
Hung PhamKeymasterHello hey3212,
Please follow my #2 answer to translate / change words.
Regards,
May 5, 2025 at 10:58 am #658317
hey3212ParticipantI got it. How to navigate to the translation interface?
May 5, 2025 at 1:21 pm #658363
Hung PhamKeymasterHello hey3212,
Your question is a bit unclear to me. Please describe in more details or or your desired goal, this will allow me to thoroughly investigate and address your concerns in a more efficient.
Regards,
May 5, 2025 at 1:23 pm #658365
hey3212ParticipantHow to navigate to the the translation interface to actually change the word “checkout” to “check out”?
May 6, 2025 at 4:54 am #658476
Hung PhamKeymasterMay 6, 2025 at 9:12 am #658510
hey3212ParticipantHi Hung,
Thank you for the screenshot. Very helpful. I have updated all the checkout to check out, but the button is still displaying “checkout”. Any idea?
Attachments:
You must be logged in to view attached files.May 6, 2025 at 2:27 pm #658591
Hung PhamKeymasterHello hey3212,
Please clear browser cache, remove products from mini cart and re-add to see if it works.
Regards,
May 6, 2025 at 2:37 pm #658600
hey3212ParticipantHi,
I have cleared the cache of my browser and website, but there is no change. Can you see it working on your end?
May 7, 2025 at 4:37 am #658733
Hung PhamKeymasterHello hey3212,
Please check your site again, you need to translate WooCommerce plugin as well.
Regards,
May 7, 2025 at 7:29 am #658752
hey3212ParticipantGot it. Thank you very much for your help.
-
AuthorPosts
The topic ‘How to configure the buttons on the flyout cart view’ is closed to new replies.
- You must be logged in to create new topics. Login / Register