New Landing How can we help? Themeforest Theme Support Joyn Joyn Woocommerce button color

Viewing 15 posts - 1 through 15 (of 19 total)
  • Posted in: Joyn
  • #160746
    sam
    Member
    Post count: 10

    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.

    #160815
    Klarity
    Member
    Post count: 183

    Im probably being really stupid but i can’t see where to edit this too?
    Sorry i’m a new to this

    #160882
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this custom css code:-

    .single_add_to_cart_button{
    background:#ff0000 !important;
    }
    
    .bag-buttons checkout-button{
    background:#ff0000 !important;
    }

    Thanks
    Mohammad

    #161230
    Klarity
    Member
    Post count: 183

    Hi 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

    #161295
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this custom css code:-

    .single_add_to_cart_button:hover{
    background:#eee !important;
    }
    
    .bag-buttons checkout-button:hover{
    background:#eee !important;
    }

    Thanks
    Mohammad

    #161345
    sam
    Member
    Post count: 10

    Glad 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.

    #161355
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You can insert the code at custom css of theme option.
    Thanks
    Mohammad

    #264382
    beardymouse
    Member
    Post count: 13

    I’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?

    #264488
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    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
    Mohammad

    #264571
    beardymouse
    Member
    Post count: 13

    Thanks Mohammad, that doesn’t seem to have changed anything unfortunately.

    #264573
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please provide me marked screenshot to indicate the issue and specific page url with issue.
    Thanks
    Mohammad

    #264578
    beardymouse
    Member
    Post count: 13

    Here’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.
    #265018
    David Martin – Support
    Moderator
    Post count: 20834

    @beardymouse – that product link is not working. I cannot see it on your site, do you have another working link?

    – David.

    #265087
    beardymouse
    Member
    Post count: 13
    #265319
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Do 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

Viewing 15 posts - 1 through 15 (of 19 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register