Jump to content

Multilingual website (mobile usability): Remove language switch when mobile menu is open

Recommended Posts

5 minutes ago, Naomi-lifelab said:

Site URL: https://lifelab.world/en/home

Hi everyone,

I have set up a multilingual site using bradgood tutorial. Now I am having difficulties on the mobile view.

The language switcher shows when the mobile menu is open. Can we please hide the language switcher when the mobile menu is open? Here is a photo for reference. 

Thank you so much!

Mobile menu view.png

Try adding to Home > Design > Custom Css

.is-mobile-overlay-active .language {
  display: none;
}

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

My testing

image.png.7c7c038b9eb9bfc1de109b77ed752eb7.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
  • 3 weeks later...

@bangank36 could you help me too? I also followed the brad good tutorial and everything works great on the desktop version. However, the switcher is not good for the mobile view. 

I tried what you said above, but it did not work (I am not the best at this...)

Ideally, I would like to have switcher somewhere in the mobile menu. If it is not something that can be done, I would prefer to remove it completely from the mobile version.

Thanks

url: https://www.panoraloges.ca/

image.png.af0c3ccc5ff481341c8781a7d60c94b2.pngimage.png.52ace7b1aeab5aaca78bb41084fe4311.png

Link to comment
1 hour ago, HP920 said:

@bangank36 could you help me too? I also followed the brad good tutorial and everything works great on the desktop version. However, the switcher is not good for the mobile view. 

I tried what you said above, but it did not work (I am not the best at this...)

Ideally, I would like to have switcher somewhere in the mobile menu. If it is not something that can be done, I would prefer to remove it completely from the mobile version.

Thanks

url: https://www.panoraloges.ca/

image.png.af0c3ccc5ff481341c8781a7d60c94b2.pngimage.png.52ace7b1aeab5aaca78bb41084fe4311.png

Try

@media only screen and (max-width: 767px) {
  .language {
    left: 250px;
    right: unset;
    transform: translate(-50%,-50%);
  }
}

to move it to the right.

Or

@media only screen and (max-width: 767px) {
  .language {
    display: none;
  }
}

to hide it

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.