I have added shortcode for a language switcher to header with element with hook “generate_menu_bar_items” for two of my sites. On one site, it works perfectly, and on the other one it doesn´t. The sites are very similar, and I have added switcher and element in the same way. Could you please help?
Are you setting line-height of main nav menu items to 24 in the Typography or somewhere else? I’m not sure where the specific source of this CSS because it seems your optimizing CSS through your optimization plugin.
If you revert it back to the default 1.5 value, as it is in the other site, you’ll see it fixed.
Hello again… turns out it works as in it looks as it should, but when I hover over a flag in the dropdown it disappears, making it impossible to change language. Could you please have a look?