9.5 Popular Custom CSS (2025)

Add to Appearance → Customize → Additional CSS:

/* Clean dropdown */
.wpml-ls-legacy-dropdown .wpmlize .wpml-ls-sub-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Horizontal with flags only */
.wpml-ls-statics-header img { margin: 0 8px; opacity: 0.7; transition: all .2s; }
.wpml-ls-statics-header img:hover { opacity: 1; transform: scale(1.2); }

/* Hide default language in URL (cleaner URLs) */
.wpml-ls-current-language > a { pointer-events: none; }

Done – your language switcher now looks exactly the way you want on desktop and mobile.

Last updated