Shopify themes, liquid, logos, and UX
Hello
I would like to remove the Country selector from my drawer menu in mobile view - however i would like to keep the language selector
When i use this code - it removes everything
.menu-drawer__localization.header-localization {
display: none !important;
}
Solved! Go to the solution
This is an accepted solution.
Hello @TBS2023
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.css / based.css file and paste the code in the bottom of the file.
@media(max-width:768px){
localization-form:nth-child(1) {
display: none !important;
}
}
Result:
If my reply is helpful, kindly click like and mark it as an accepted solution.
If you are happy with my help, you can help me buy a COFFEE
Thanks!
Hi @TBS2023
Can you send me the store link to check further?
Thank you
Can you share the preview URL of your draft theme so that I can help you out?
Hello @TBS2023
You can add code by following these steps
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
@media screen and (max-width: 767px) {
.menu-drawer__localization .country-selector {
display: none !important;
}
}
</style>
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Hi @TBS2023 , kindly provide your store URL please and if it is password protected, please share the password as well. Thanks
This is an accepted solution.
Hello @TBS2023
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.css / based.css file and paste the code in the bottom of the file.
@media(max-width:768px){
localization-form:nth-child(1) {
display: none !important;
}
}
Result:
If my reply is helpful, kindly click like and mark it as an accepted solution.
If you are happy with my help, you can help me buy a COFFEE
Thanks!
Hi @TBS2023
Please use this code in Custom CSS in Online Store > Themes > Customize > Theme settings
@media (max-width: 749px) {
.menu-drawer__localization.header-localization {
display: none !important;
}
}
- Solved it? Hit Like and Accept solution! ❤️Buy Me Coffee❤️
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024