All things Shopify and commerce
I need to remove the country/region selector from my shopify store, I have already disabled the option from the header and it is not visible on the website when I am opening it on laptop, however it is still showing on the menu in the mobile website version, How to fix this? Seems like this is a bug.
Hi @,
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file theme.liquid
Step 3: Paste the below code at the bottom of the file -> Save
<style>
@media(max-width:767px){
[class*="localization"]{
display:none !important
}
}
</style>
Hope my solution works perfectly for you!
Best regards,
Oliver | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
Hi @ethniccloset ,
Can you kindly share your store link (with the password, if any) with us? We will check it and suggest you a solution if possible.
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
Product Labels by BSS | B2B Solution & Custom Pricing
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
Hey @ethniccloset ,
To do this, go to your admin page. Then select Online store -> Select Edit code action. In the dev tools section, find the base.css file, and add the following code to the last part of the file:
.menu-drawer__localization { display: none !important; }
Result:
Hope it works @ethniccloset
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
Product Labels by BSS | B2B Solution & Custom Pricing
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
Hello, I know it's been a while, but do you think you could modify the code so that only the language selector is displayed? without the code you wrote the bug shows language selector and country/region on mobile, but I would like to only show the language selector, and the code allows neither of them to show. Thank you.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025