• Resolved Uriahs Victor

    (@uriahs-victor)


    There’s a new border that shows whenever an item is added to cart on the latest versions of WooCommerce. This isn’t ideal and I’d like to turn it off but it’s difficult finding what CSS class is causing this because as soon as I try to inspect the border goes away.

    Here is a video showing the border: https://share.vidyard.com/watch/bxuajSZMqzgYwYqq6rBi5a?

    This happens on default WP themes as well so its a new thing with WooCommerce. It also happens on Storefront theme.

    Unfortunately I would prefer not having this as it doesn’t look good on tablet devices…it shows up as a black border on tablet devices.

Viewing 10 replies - 1 through 10 (of 10 total)
  • WPMajestic

    (@wpmajestic)

    Hi @uriahs-victor,

    If you can share the site URL, I can tell you how to fix this because I can inspect the code and see what’s happening. Regarding these CSS things – we need to see a code with live inspector, to write a working solution.

    Kind Regards.

    Thread Starter Uriahs Victor

    (@uriahs-victor)

    @wpmajestic I was testing on local but it doesn’t matter where the site is…you can test from your install just update to the latest version of WC and then add a product to cart, you will see a border shows around the added to cart message

    WPMajestic

    (@wpmajestic)

    Hi @uriahs-victor,

    I was able to replicate it – https://prnt.sc/Ze8BsbbPJNwa – and here is how it looks when the border is removed -> https://prnt.sc/BmJKiOpwsonk, add this code to custom CSS:

    .woocommerce-message {border-top: none;}

    if that is not working try using the !important directive:

    .woocommerce-message {border-top: none !important;}

    Kind Regards.

    Thread Starter Uriahs Victor

    (@uriahs-victor)

    @wpmajestic That’s not what im talking about, that is the default border that has been there for a long time…Please take a look at this video to see that when an item is added to card there is a border that comes around the whole notice and then disappears when you click anywhere on the page: https://share.vidyard.com/watch/bxuajSZMqzgYwYqq6rBi5a?

    WPMajestic

    (@wpmajestic)

    Hi @uriahs-victor,

    I don’t have that issue on my sites, the border that appears on your video – does not appear, I tried with the Storefront theme as well, on my end it does not appear. If you can provide me with a link to the site where this happens – I will resolve the issue for you.

    Kind Regards.

    Thread Starter Uriahs Victor

    (@uriahs-victor)

    @wpmajestic I deployed a fresh site just to show that it doesn’t matter where I test, see this site: https://strategic-baboon-a33339.instawp.xyz/product/test-product/

    That site only has WooCommerce installed and is a fresh install.

    You can see that when I added a product to cart, this blue border shows around the notice: https://prnt.sc/XLbCr0nophmt

    This wasn’t happening in previous WooCommerce installs

    WPMajestic

    (@wpmajestic)

    Hello @uriahs-victor,

    Thank you. I was able to see the issue, and the border appeared on focus. To fix it, you need to add custom CSS to the Customizer.

    .woocommerce-message:focus-visible {
    outline: none;
    }

    If that does not work, add !important, like this:

    .woocommerce-message:focus-visible {
    outline: none !important;
    }

    Let me know did it resolved your issue?

    Kind regards.

    Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hi @uriahs-victor,

    It looks like @wpmajestic already shared some tips to try and solve this issue. Did you already get a chance to try out the CSS code @wpmajestic shared?

    Should you still need further assistance, please feel free to reach out and we’d be happy to help.

    Thread Starter Uriahs Victor

    (@uriahs-victor)

    Just tested it and it’s gone now

    Plugin Support Rajesh K. (woo-hc)

    (@rajeshml)

    Hello @uriahs-victor,

    Glad to know that the issue has been resolved with the solution provided by @wpmajestic.

    Should you have further inquiries, kindly create a new topic here.

    Meanwhile, if it isn’t too much to ask for – would you mind leaving us a review here? It only takes a couple of minutes but helps us tremendously. It would mean so much to us and would go a long way.

    Thanks!

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