New Landing How can we help? Cardinal Strange WooCommerce bug: changing buttons bg color

Viewing 12 posts - 1 through 12 (of 12 total)
  • Posted in: Cardinal
  • #116991
    FlawlessWeb
    Member
    Post count: 542

    Hey,

    This is an odd bug that I haven’t been able to figure out.

    I have all my buttons setup like this:

    background-color: #1e73be;
    color: white;

    Generally speaking that works fine throughout the site except in one odd scenario.

    When you are on any WooCommerce page, the background color of the top bar newsletter subscribe button and the header contact form dropdown submit button changes to a generic grey background color. This is very strange for two reasons:

    1. On any non WooCommerce page, the buttons display fine using the #1e73be background color as I have set.
    2. If you inspect the buttons on a WooCommerce page, it still says the background color is #1e73be even though it obviously is not.

    Screenshots and links in next post.

    Thanks.

    #116998
    FlawlessWeb
    Member
    Post count: 542
    This reply has been marked as private.
    #117026
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    I can’t view that page, your site is in maintenance mode. I will need a login

    – Kyle

    #117029
    FlawlessWeb
    Member
    Post count: 542
    This reply has been marked as private.
    #117030
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    The button’s fine for me? (see screenshot)

    – Kyle

    Attachments:
    You must be logged in to view attached files.
    #117032
    FlawlessWeb
    Member
    Post count: 542

    Hey,

    Did you look at my screenshots? – those buttons are not the issue.

    #117033
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    I’m struggling to work this one out, it shows it being overwritten in firebug, even with !important, but for some reason it’s not working. I will have to forward this one to the developer to look at

    – Kyle

    #117035
    FlawlessWeb
    Member
    Post count: 542

    Yea its a very odd one. Trying to figure it out for a while now with no luck.

    #117175
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    It’s the styles from woocommerce.css that are over the normal style.
    Add this custom css.

    
    #mc-embedded-subscribe{
    background-image: none!important;
    text-shadow: none!important;
    }

    -Rui

    #117178
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Realized that was missing the over style.
    Replace my previous code by this one.

    
    #mc-embedded-subscribe{
    background-image: none!important;
    text-shadow: none!important;
    }
    
    #mc-embedded-subscribe:hover{
    background: #2e2e36!important;
    border-color: #ffffff!important;
    color: #ffffff!important;
    }
    

    -Rui

    #117256
    FlawlessWeb
    Member
    Post count: 542

    Thanks,

    That did the trick.

    #117648
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Great.
    -Rui

Viewing 12 posts - 1 through 12 (of 12 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