• I can choose flags or language names. Can I make it so that only a flag is shown when not clicked, but once the menu unfolds – language names in the list as well? That will look so much neater.

    Or better – on the current page, flags but no language names, and when clicked – language names but no flags?

    Or even better – only a flag in the menu displayed on the page, only names when the list is shown in the dropdown menu, and flag+list when hovered?

    Could you implement such further options in future versions?

    Or can it be done with additional CSS code in the WordPress page?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Chouby

    (@chouby)

    Hello,

    We won’t implement such level of customization. But if you select to display both the flags and names, it should indeed be possible to hide/show what you want in CSS by targeting the right html elements. Indedd, the language switcher comes with specific classes such as .lang-item, .lang-item-en, etc to allow you to target exactly what you want without impacting the other menu items.

    Thread Starter wordzebra

    (@wordzebra)

    Hi @chouby ,

    Many thanks for the reply!

    Could we swap the places of the flags and the text in the desktop version language switcher only, I mean to have the flag on the right and the text on the left? If we do that the flags will be aligned nicely under each other while as it stands now, they go on the left on hover and it looks very messy. The mobile and tablet versions are already aligned on the left in my theme and it looks very well as it stands.

    The theme support suggested this code but it doesn’t work:

    @media(min-width: 520px){
    li#menu-item-231-en img{
    float: right !important;
    }

    li#menu-item-231-bg img{
    float: right !important;
    }
    }

    Best regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Menu appearance – flags on menu, names in drop-down, flag+name when hovered?’ is closed to new replies.