Jump to content

Reduce the width of the Weglot language switcher dropdown menu background

Go to solution Solved by tuanphan,

Recommended Posts

Hi there,

I can't use the code below to reduce the width under a certain amount of the width, for example, width set to 100px, it works but for 30px, it doesn't change. See screenshot.

 

.header-actions .language-picker-desktop .language-picker-content {
    width: 30px !important;
}

Screenshot 2023-07-24 at 5.14.04 PM.png

Link to comment
  • Solution

Add to Design > Custom CSS

/* language dropdown */
.language-picker-content {
    width: auto !important;
    min-width: unset !important;
}
.language-item {
    margin: 0 !important;
}

 

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.