How do I remove country names from currency selector?

Topic summary

Remove country names from the currency selector so only currencies display.

  • Initial guidance: If the theme lacks a setting, edit theme code. A helper asked for store URL/password.

  • Proposed fix (DAWN theme): In country-localization.liquid, replace code with a loop over localization.available_countries that prints a deduplicated list of currency ISO codes and symbols (e.g., CAD $, EUR €, GBP £, USD $). This worked for some stores; a screenshot shows the result.

  • Theme differences: Some stores don’t have country-localization.liquid. Advice: locate the file controlling the currency selector (e.g., currency-picker) and paste the same logic. One user using Shopify’s Geolocation app reported the code didn’t work when added to currency-picker.

  • Follow-up needs: CSS adjustments requested to make dropdown text visible (default appears white on white) and to right-align currency entries. No specific CSS file/selector guidance provided yet.

  • Key terms: DAWN is Shopify’s default theme; Liquid is Shopify’s templating language; Geolocation app auto-sets locale/currency.

  • Status: Partial solution shared; compatibility with non-DAWN themes and Geolocation remains unresolved; CSS styling questions are open. Images illustrate the working result and visibility/alignment issues.

Summarized with AI on January 4. AI used: gpt-5.

Hi there!

I apologise for jumping into this thread, but this was exactly what I was looking for, and your solution was quite useful for me, , thank you so much!

I would need to to tweek a bit the CSS though, but I have no idea exactly “where”. I think the currencies in the dropdown are white by default, and as the background is white, they are not visible… they are only visible on on mouse over:

Do you know where in CSS would I be able to change their default color? (to 666 gray for example)

…and while we’re at it… could I chance the currency alignment in the dropdown to the right?..

I deeply appreciate your help!!

Thank you,

Ana

1 Like