How to remove the location selector from the Mobile Menu?

ethniccloset
Visitor
2 0 0

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.

Replies 4 (4)

PageFly-Oliver
Astronaut
840 175 155

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.

BSS-Commerce
Shopify Expert
3465 459 515

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 or marking it as a solution.

For B2B solutions and custom pricing, check out B2B Solution & Custom Pricing |
For adding product labels/badges, visit Product Labels by BSS

BSS Commerce - Shopify Apps & Store Development Service Provider

Hire a Shopify expert | Shopify Plus Store Development

ethniccloset
Visitor
2 0 0
The Ethnic Closet – The ethnic closet <>
BSS-Commerce
Shopify Expert
3465 459 515

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:

view - 2023-12-26T095014.472.png 

Hope it works @ethniccloset 

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.

For B2B solutions and custom pricing, check out B2B Solution & Custom Pricing |
For adding product labels/badges, visit Product Labels by BSS

BSS Commerce - Shopify Apps & Store Development Service Provider

Hire a Shopify expert | Shopify Plus Store Development