Hello guys,
Do you know how to hide my current locale in my dropdown menu ?
We can see the FR (for France) two times… !
Thanks
Hello guys,
Do you know how to hide my current locale in my dropdown menu ?
We can see the FR (for France) two times… !
Thanks
Hi Camille,
The first one is the dropdown toggle, which shows the currently-selected locale.
The second one below is in the list of options to choose.
From a UX standpoint-
You can differentiate those by styling them so that it doesn’t look redundant.
I have never tried to hide the current locale from the list, but if you wanted to do that ( and show all locales except the currently selected one ) you might be able to achieve that by styling the “current locale” item as display: none.
Styling here is a bit tricky however I think Webflow has made some improvements since launch.
Thank you Michael !
It works when I only hide the current element ! :)