Opened 7 weeks ago
Last modified 3 weeks ago
#8241 new defect (bug)
Currency Switcher Dropdown Not Displaying Properly
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Component: | Swag Store (mercantile.wordpress.org) | Keywords: | has-patch needs-test-info |
| Cc: |
Description
On the https://mercantile.wordpress.org/shop/(https://mercantile.wordpress.org/shop/) page, when users try to switch the currency, the text is not visible because it appears as white text on a white background.
Attachments (2)
Change History (11)
#2
in reply to:
↑ 1
@
7 weeks ago
Replying to mikinc860:
You can resolve this issue by explicitly setting the text color for the dropdown options using CSS. Add the following snippet to your custom CSS:
css .currency-switcher-holder select option { color: #000000; }This ensures that the option text remains visible and does not inherit unwanted styles from the theme or other plugins.
This is working correctly. After applying this style filter, the options are clearly visible.
#3
@
7 weeks ago
- Keywords has-patch needs-testing added; needs-patch removed
Patch attached. Tested in WordPress Playground using Mercantile blueprint. Fix ensures dropdown options are readable.
#4
@
6 weeks ago
- Keywords needs-patch added; has-patch removed
Hello @dhrumilk
We can fix this by setting the dropdown option text color via CSS. Add this to your custom CSS:
.currency-switcher-holder select option {
color: #000000;
}
I think it is helpful for this bug issue.
#6
follow-up:
↓ 7
@
6 weeks ago
- Priority changed from high to normal
No. Please don't ping for people to look at things :)
I can't duplicate it though.
This is browser/os-specific, something that was not included in the original report.
I've passed this along to those who work on it.
#7
in reply to:
↑ 6
@
6 weeks ago
Extremely Sorry @dd32 , I will keep this thing in my mind.
I will never repeat this type of mistake.
Thank you 😊 🙏
Replying to dd32:
No. Please don't ping for people to look at things :)
I can't duplicate it though.
This is browser/os-specific, something that was not included in the original report.
I've passed this along to those who work on it.
You can resolve this issue by explicitly setting the text color for the dropdown options using CSS. Add the following snippet to your custom CSS:
css .currency-switcher-holder select option { color: #000000; }This ensures that the option text remains visible and does not inherit unwanted styles from the theme or other plugins.