[Resolved] Update cart button color not as per configuration

Home Forums Support [Resolved] Update cart button color not as per configuration

Home Forums Support Update cart button color not as per configuration

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1679096
    Andreas

    I use Generatepress Pro and changed the default colors of the Woocommerce buttons. Everything works fine but the ‘update card’ button doesn’t display the right colors.

    #1679211
    Leo
    Staff
    Customer Support

    Hi Andreas,

    The “disabled” button requires a bit of CSS:

    .woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled] {
        background-color: #000000;
        opacity: 1;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Let me know if this helps 🙂

    #1682874
    Andreas

    Hi Leo
    Worked but now the hover colors are no more the ones I configured. Could you provide me the CSS snipped for configuring the hover efects as well.
    Thanks.
    Andreas

    #1683130
    David
    Staff
    Customer Support

    Hi there,

    try adding this for the hovers:

    .woocommerce button.button:disabled:hover, .woocommerce button.button:disabled[disabled]:hover {
        background-color: #000000;
        opacity: 1;
    }
    #1683386
    Andreas

    Worked perfectly. Thank you very much.

    #1683438
    David
    Staff
    Customer Support

    You’re welcome

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.