Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Joyn › Joyn Woocommerce button color
New Landing › How can we help? › Themeforest Theme Support › Joyn › Joyn Woocommerce button color
- This topic has 18 replies, 6 voices, and was last updated 8 years by Kyle – SUPPORT.
-
Posted in: Joyn
-
March 25, 2015 at 5:12 pm #160746
Hello,
Using the color customiser, which option controls the color of Woocommerce ‘Add to cart’ and checkout buttons in Joyn? I can not find this for the life of me, and all these buttons appear to be transparent until hovered on.
Any help greatly appreciated.
Many thanks,
Sam.
March 25, 2015 at 11:42 pm #160815Im probably being really stupid but i can’t see where to edit this too?
Sorry i’m a new to thisMarch 26, 2015 at 7:04 am #160882Hi,
Please use this custom css code:-.single_add_to_cart_button{ background:#ff0000 !important; } .bag-buttons checkout-button{ background:#ff0000 !important; }
Thanks
MohammadMarch 26, 2015 at 7:34 pm #161230Hi Thanks for this,
Ive changed this setting no problem.
however i would like to know if i can get the css for mouse hover over color for add to basket and checkout
and also the css to match for favorites start and the qty.Many thanks in advance (great advice so far)
Cheers
March 27, 2015 at 5:36 am #161295Hi,
Please use this custom css code:-.single_add_to_cart_button:hover{ background:#eee !important; } .bag-buttons checkout-button:hover{ background:#eee !important; }
Thanks
MohammadMarch 27, 2015 at 10:27 am #161345Glad to hear it wasn’t only me having these issues!
Thanks for the help on this Mohammed. For everyone else I found this didn’t work for all the buttons, so i had to target them separately as follows:
.single_add_to_cart_button, a.add_to_wishlist, div.quantity, .woocommerce .quantity input.qty, .woocommerce .quantity input {
background:#fff !important;
}.woocommerce button[type=”submit”], a.checkout-button.button.alt.wc-forward {
background:#fff !important;
}.woocommerce .cart input[name=”update_cart”], .woocommerce input[name=”apply_coupon”] {
background:#fff !important;
}Also with noting I keep custom styles in styles.css in a child theme and not all of these will work and override if kept in here – you need to put them in the custom CSS box within your theme options.
Cheers,
S.
March 27, 2015 at 10:45 am #161355Hi,
You can insert the code at custom css of theme option.
Thanks
MohammadApril 28, 2016 at 3:54 pm #264382I’ve been having issues with this too.
Sam’s solution worked – but it seems to impact the ‘add to basket’ button on product pages. How do I exclude this button from being impacted in the code?
April 29, 2016 at 7:44 am #264488Hi,
Please find this code :-.single_add_to_cart_button, a.add_to_wishlist, div.quantity, .woocommerce .quantity input.qty, .woocommerce .quantity input { background:#fff !important; }
Change to :-
a.add_to_wishlist, div.quantity, .woocommerce .quantity input.qty, .woocommerce .quantity input { background:#fff !important; }
Thanks
MohammadApril 29, 2016 at 12:13 pm #264571Thanks Mohammad, that doesn’t seem to have changed anything unfortunately.
April 29, 2016 at 12:20 pm #264573Hi,
Please provide me marked screenshot to indicate the issue and specific page url with issue.
Thanks
MohammadApril 29, 2016 at 12:39 pm #264578Here’s a URL with the dark Add to Basket button: https://independentmusicpodcast.net/product/arsivplak-%e2%80%8e-moog-edits/
Attached screengrab of the code and marked screengrab of the button
Custom CSS is currently:
a.add_to_wishlist, div.quantity, .woocommerce .quantity input.qty, .woocommerce .quantity input { background:#fff !important; } .woocommerce button[type="submit"], a.checkout-button.button.alt.wc-forward { background:#000 !important; } .woocommerce .cart input[name="update_cart"], .woocommerce input[name="apply_coupon"] { background:#000 !important; }
Attachments:
You must be logged in to view attached files.May 3, 2016 at 10:33 am #265018@beardymouse – that product link is not working. I cannot see it on your site, do you have another working link?
– David.
May 3, 2016 at 1:29 pm #265087Hi David,
Here you go: https://independentmusicpodcast.net/product/d-e-d-s-t-i-l-l-d-e-d/
May 4, 2016 at 8:31 am #265319Do you have this in your custom css?
.woocommerce button[type="submit"], a.checkout-button.button.alt.wc-forward { background: #000 none repeat scroll 0 0 !important; }
Because that’s what’s forcing the button to be black
– Kyle
-
Posted in: Joyn
You must be logged in and have valid license to reply to this topic.