Home › Forums › WoodMart support forum › Cart button color not changing in some places
Cart button color not changing in some places
- This topic has 9 replies, 2 voices, and was last updated 3 years, 2 months ago by Elise Noromit.
-
AuthorPosts
-
February 10, 2021 at 12:20 pm #265340
steph_inventParticipantHello,
I have changed the cart button into red as you can see in the theme settings (cf. screenshot). The color has been changed in the shop (cf. screenshot) however the cart button remained green in the product category section that I have created on the home page (cf. screenshot). Could you tell me please how to change the cart button everywhere on the site?
Thank you
Regards
Attachments:
You must be logged in to view attached files.February 10, 2021 at 4:00 pm #265418
Elise NoromitMemberHello,
As far as I see this is the Product AJAX Tabs, please enter the element and change the color there.
Best Regards
February 11, 2021 at 1:27 am #265493
steph_inventParticipantHello
It is correct. However, I did not understand what you mean and how I can change the cart color button to red in Product AJAX tabs. I have changed in the settings but it remains green in the product Ajax tabs.
Thanks
Regards
February 11, 2021 at 9:33 am #265568
Elise NoromitMemberHello,
Please provide your site admin access to the private area.
Best Regards
February 11, 2021 at 9:58 am #265582
steph_inventParticipantHello Elise,
Thank you for your reply.
Kindly find below the credentials.
Thank you in advance
Regards
February 11, 2021 at 2:39 pm #265690
Elise NoromitMemberHello,
You can change the line color in the widget settings https://prnt.sc/z3prj5
Please deactivate WP bakery page builder the theme can work with one builder at the same time.
The cart button inherits the Primary color that is green: https://prnt.sc/z3pzoz
Alternatively, the cart button color may be changed with custom CSS.
Please add this code to the Theme Settings > Custom CSS > Global:
body .woodmart-hover-quick .woodmart-add-btn > a{ background-color:red; }
body .product-grid-item .price .amount { color:red; }
Set the color as per your needs.
Best Regards
February 11, 2021 at 8:20 pm #265739
steph_inventParticipantHello
Thank you for your reply.
I have changed the Primary color to red and the secondary color to black. When I hover the product, I can see the button “Add to cart” in red however when I hover this button, it remains red and it does not switch to black as it is the case in the shop.
1. Please check the desired comportment in screenshot 1 (available only in the shop)
2. Kindly check the actual comportment in screenshot 2 (in the home page).Thanks in advance for your help
Regards
February 12, 2021 at 9:43 am #265836
Elise NoromitMemberHello,
Add this code:
body .woodmart-hover-quick .woodmart-add-btn > a{ background-color:red; } body .product-grid-item .price .amount { color:red; }
And this code on hover:
body .woodmart-hover-quick .woodmart-add-btn > a:hover{ background-color:blue; } body .product-grid-item .price .amount:hover { color:blue; }
Best Regards
February 13, 2021 at 12:19 am #266065
steph_inventParticipantHello Elise,
I have added this code and changed blue into black and it works!
Since I am not using a child theme, does your theme update will errase these changes?
Thanks a lot for your help! you are great
Regards
February 13, 2021 at 12:09 pm #266173
Elise NoromitMemberHello,
If you update the theme correctly the settings would not reset. In any case, please make the full backup of your site before any update/new plugin/ or other maintenance.
Best Regards
-
AuthorPosts
Tagged: cart button color
- You must be logged in to create new topics. Login / Register