Sorry, we don't support your browser.  Install a modern browser

Add option to hide currency selector from sidebar#152

A few merchants have asked us now to remove this without having to remove all of the markets from their admin market settings. If there was a toggle or an option to show it in the header/footer instead, this might be a nice option.

4 years ago

For anyone wanting to do this before a feature is included to allow it within the theme settings, please refer to the following instructions:

The selector populates into the theme depending on your Markets settings within your Shopify admin. And while it’s generally beyond our scope to provide code changes - I do have a small snippet of code that will help get rid of this selector without having to change your markets!

  • Head to your Theme editor (Customize)
  • Click Theme settings (paint brush icon)
  • Click Custom CSS
  • Add this code to the Custom CSS field:
.drawer-menu__form#localization_form li:nth-of-type(2) {
  display: none;
}

-Click Save

4 years ago
1
?

Unfortunately this piece of code also hides any second item in the language menu… therefore it solves a problem on the one hand but it creates a new one on the other.

2 years ago

Hi there, this small tweak to the shared code should fix that up:

.drawer-menu__form#localization_form > li:nth-of-type(2) {
  display: none;
}
2 years ago
1