• Resolved whatthecup

    (@whatthecup)


    I am unable to change the color of green line and tick in action messages like cart updated.

    Also the placing of apply coupon button is odd. unable to move that. Please advise.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter whatthecup

    (@whatthecup)

    Please let me know how to add the screenshot of the issue here.

    Nico

    (@nicolamustone)

    Automattic Happiness Engineer

    Hello there,
    by default this is how the green messages and Apply Coupon button appear in WooCommerce:

    Cart Page
    Link to image: https://d.pr/i/eV9y2X

    As you can see, we do not have a tick in the action messages and the button is properly positioned.

    In order to help you with your question, we need not only to see how it looks on your site with a screenshot, but we would actually need to visit the website.

    I see that at the moment you have the maintenance mode blocking views of your site so I was not able to have a look.

    If you could temporarily disable that I will be able to check further. Thanks.

    Thread Starter whatthecup

    (@whatthecup)

    Sure. I am disabling the maintenance mode for a few minutes. Thanks in advance

    Nico

    (@nicolamustone)

    Automattic Happiness Engineer

    Thank you!

    you can use the following code to change the look of the top border:

    .woocommerce-error, .woocommerce-info, .woocommerce-message {
      border-top: 3px solid #a46497;
    }

    And this to change its green color:

    woocommerce-message {
        border-top-color: #8fae1b;
    }

    For the thick:

    .woocommerce-message::before {
        content: "\e015";
        color: #8fae1b;
    }

    Edit the code above using your colors and/or other changes and add it to Appearance > Customize > Additional CSS

    Thread Starter whatthecup

    (@whatthecup)

    Thank you. I am giving it a try. Can you please have a look at the apply coupon button on cart page? Its not in the same line. Please let me know how to move it next to coupon space. Thanks

    Nico

    (@nicolamustone)

    Automattic Happiness Engineer

    Sorry, I forgot about that.
    The issue with the button comes from the theme, from this code:

    input[type="submit"], button[type="submit"] {
        background: #745cf9;
        border-radius: 0 !important;
        border: 2px solid #745cf9;
        color: #fff;
        font-size: 11px;
        font-weight: bold;
        height: 50px;
        letter-spacing: 1px;
        line-height: 48px;
        max-width: 250px;
        padding: 0;
        text-transform: uppercase;
        width: 100%;
    }

    Specifically, the width: 100%; part.

    Add this code to the Additional CSS section to fix:

    .woocommerce .cart .button, .woocommerce .cart input.button { width: auto; }

    Thread Starter whatthecup

    (@whatthecup)

    Thank you so much. Both issues resolved. Appreciate your help.

    I have one more question regarding the shipping. Can i please ask in the same thread or do i need to create a separate one for that?

    Nico

    (@nicolamustone)

    Automattic Happiness Engineer

    You’re welcome!

    I have one more question regarding the shipping. Can i please ask in the same thread or do i need to create a separate one for that?

    Please, create a separate thread for that so that it does not create confusion and it is easier to search for other users in the forum.

    Thread Starter whatthecup

    (@whatthecup)

    Thank you. Creating another thread

    • This reply was modified 4 years, 11 months ago by whatthecup.
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘unable to change green color of action messages in woocommerce’ is closed to new replies.