• Resolved daymobrew

    (@daymobrew)


    WordPress 6.4.1, WooCommerce 8.2.2, Storefront 4.5.3.

    In Users/Profile, when I expand the Country/Region dropdown, the currently selected item is white on white because the background-color is set to var(–wp-admin-theme-color) but that CSS variable is not set.

    It comes from woocommerce/assets/css/admin.css. The problem style overrides one that sets the background colour to light blue.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @daymobrew

    Thanks for reaching out!

    I understand that you’re experiencing an issue with the Country/Region dropdown in Users/Profile, where the selected item is showing as white on white.

    Could you please provide us with a clear screenshot of what you’re seeing on your end? This will help us better understand your situation and address your concerns more effectively.

    If you don’t already have a screenshot service installed, you can try https://snipboard.io. You can share the direct link to the image as a response to this topic.

    Furthermore, I’d like to understand your site properly. Please share with us the System Status Report which you can find via WooCommerce > Status > Get system report > Copy for support.

    You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.

    Once we have more information, we’ll be able to assist you further.

    Thread Starter daymobrew

    (@daymobrew)

    Screenshot: https://snipboard.io/1ZnAtX.jpg

    Status report: https://gist.github.com/damiencarbery/90304322baed53754681675c528721ee

    Although my code is for a multisite installation on localhost, I see the same issue on other sites.

    • This reply was modified 1 year ago by daymobrew.

    Hi @daymobrew

    Thanks for providing the requested information above.

    It looks like a third-party plugin or your theme might be causing the conflict here.

    For us to investigate this further, can you please try to switch to the default Storefront theme and only WooCommerce plugin is enabled and see if this works?

    If so, then this kind of problem is usually caused by your theme or a third-party plugin present on your site. We can run a conflict test to verify this. I’d recommend cloning your site to a staging environment and performing the tests described on this guide without modifying your live site or impacting customers. Many hosts provide staging facilities, so it’s worth checking in with them. It’s also possible to do it using the free WP Staging plugin.

    If this was caused by a third-party plugin present on your site, it would be best to reach out to the developers for further assistance here.

    If this did not resolve the issue, please provide the fatal error logs (if any) under WooCommerce > Status > Logs.

    You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.

    Or, if you’d like someone else to do this work for you, our trusted partner, Codeable, has an offering where they will run this test for $150 USD. If there is time left, they will also fix the problems they found.

    Let us know how it goes!

    Thread Starter daymobrew

    (@daymobrew)

    I am using Storefront.

    I set up a clean install with Woo 8.3.1 and Storefront and I do not see the issue. While the installation exhibiting the issue only has a few tiny plugins, I will review each.

    Thread Starter daymobrew

    (@daymobrew)

    It has been fixed in 8.3.1 by adding fallback colours to the property value e.g.

    background-color: var(--wp-admin-theme-color);

    changed to

    background-color: var(--wp-admin-theme-color, #007cba);

    hrn1995 (woo-hc)

    (@aguinaldodarla)

    Hi @daymobrew

    It’s great to know that! You did well. Thank you for sharing it with us.

    You’re welcome! We’re always here to assist you!

    I’m going to mark this thread as resolved, but please don’t hesitate to start a new topic if you have any more questions down the line.

    If you have a few minutes, we’d love if you could leave us a review: https://www.ads-software.com/support/plugin/woocommerce/reviews/

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘User profile – selected State white on white as –wp-admin-theme-color not set’ is closed to new replies.