How can I disable and locate the language and currency selectors on mobile?

Solved

How can I disable and locate the language and currency selectors on mobile?

EGM1
Excursionist
22 0 8

Hello, 

 

I have disabled the language selector and currency selector from the customize tab but on the mobile it still appears.  Could you help me solve this issue. And also want to locate the selector in code for mobile v

Accepted Solution (1)
Moeed
Shopify Partner
4998 1330 1610

This is an accepted solution.

Hey @EGM1 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
button.disclosure__button.localization-form__select.localization-selector.link.link--text.caption-large {
    display: none !important;
}
</style>

RESULT:

Moeed_0-1694541497671.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

-Need a Shopify Specialist? Chat on WhatsApp
- Custom Design | Advanced Coding | Store Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️

View solution in original post

Replies 6 (6)

Moeed
Shopify Partner
4998 1330 1610

Hey @EGM1 

 

Could you please provide your Store URL and, if applicable, the Password too? Your cooperation is greatly appreciated!

 

Best Regards,
Moeed

-Need a Shopify Specialist? Chat on WhatsApp
- Custom Design | Advanced Coding | Store Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
EGM1
Excursionist
22 0 8

Sure, 

https://egeneralmarket.com/ 

There is no password. The problem is that on mobile when you open the drawer at the bottom there is still the selector even tho I have disabled it. 

EGM1_0-1694541188034.png

 

Moeed
Shopify Partner
4998 1330 1610

This is an accepted solution.

Hey @EGM1 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
button.disclosure__button.localization-form__select.localization-selector.link.link--text.caption-large {
    display: none !important;
}
</style>

RESULT:

Moeed_0-1694541497671.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

-Need a Shopify Specialist? Chat on WhatsApp
- Custom Design | Advanced Coding | Store Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
EGM1
Excursionist
22 0 8

Thank you so much for the solution, it worked. Is it possible to help how to ad a new div inbetween the spaces to add something else ?

Moeed
Shopify Partner
4998 1330 1610

Thank you for your reply. I'm glad to hear that the solution worked well for you. If you require any more help, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. Also, if you'd like to add another div to add something else then it would require custom coding as it's not only possible via CSS. If you're not familiar with coding then I suggest you to hire a Shopify developer who can help you out.

 

Best Regards,

Moeed

-Need a Shopify Specialist? Chat on WhatsApp
- Custom Design | Advanced Coding | Store Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️

Made4uo-Ribe
Shopify Partner
7781 1882 2308

Hi @EGM1 

Try this one. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

@media only screen and (max-width: 989px){
#HeaderCountryMobileForm > div > div > button {
    display: none !important;
}
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1694541410277.png

     

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.