Jump to content

Modify language switcher (Weglot)

Go to solution Solved by tuanphan,

Recommended Posts

Hi guys, I am looking for a way to change the language switcher in the header or navigation. Our site is connected to Weglot and everything works fine so far. Unfortunately, I don't like the way the language switcher is displayed in the mobile view. It is too big and not in line with the other menu items. I have already managed to use code to display the language switcher outside the navigation, but it is still visible in the navigation. (see images) I would now like to either have the language switcher smaller and displayed in a row or only in the header. Can someone please help me?

 

Bildschirmfoto 2024-07-13 um 12.41.24.png

Bildschirmfoto 2024-07-13 um 12.41.33.png

Link to comment
  • Replies 4
  • Views 575
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

6 hours ago, weekendberlin said:

Hi guys, I am looking for a way to change the language switcher in the header or navigation. Our site is connected to Weglot and everything works fine so far. Unfortunately, I don't like the way the language switcher is displayed in the mobile view. It is too big and not in line with the other menu items. I have already managed to use code to display the language switcher outside the navigation, but it is still visible in the navigation. (see images) I would now like to either have the language switcher smaller and displayed in a row or only in the header. Can someone please help me?

 

Bildschirmfoto 2024-07-13 um 12.41.24.png

Bildschirmfoto 2024-07-13 um 12.41.33.png

Can you share your URL so we can check it?

Press 👍  or mark my comment as solution if you find my sharing useful

🆒 Squarespace pinchzoom lightbox plugin (affiliate link)

👁‍🗨 360 degree photo viewer (affiliate link)

Link to comment
  • Solution
On 7/15/2024 at 4:07 PM, weekendberlin said:

Hi, sure. 🙂

https://www.weekendevents.berlin/

Thank you in advance 

You can use this code to Custom CSS box to remove it from burger menu

.header-menu-actions.language-picker.language-picker-mobile {
    display: none;
}

or if you want to align it with other menu items, use this CSS code

.header-menu-actions.language-picker.language-picker-mobile {
    margin-left: 9vw !important;
    padding-left: 3vw !important;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
1 hour ago, tuanphan said:

You can use this code to Custom CSS box to remove it from burger menu

.header-menu-actions.language-picker.language-picker-mobile {
    display: none;
}

or if you want to align it with other menu items, use this CSS code

.header-menu-actions.language-picker.language-picker-mobile {
    margin-left: 9vw !important;
    padding-left: 3vw !important;
}

It worked. Thank you so much 🙂

 

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.