Support » Theme: Hoffman » Language switcher doesn’t display inline on navigation menu

  • Resolved Hanh

    (@hanhbareau)


    Hi everyone,

    The language switcher flag and name don’t align within the navigation menu any more (neither on the top navigation, nor on the bottom navigation).
    It used to display perfectly fine before.

    Thanks in advance for any help, advice, tip!

    Hanh

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Jarret

    (@jarretc)

    Try this CSS in Appearance->Customize->Additional CSS

    .main-menu .lang-item img, .credits-menu .lang-item img {
        display: inline-block;
    }
    Hanh

    (@hanhbareau)

    Hi Jarret,

    Thank you so much for your reply. I tried your CSS and it did fix the problem on the desktop version but unfortunately, the menu on the tablet and mobile version still has the misaligned flag and language name.

    Jarret

    (@jarretc)

    Replace the code I gave you with this

    .main-menu .lang-item img, .credits-menu .lang-item img, .mobile-menu .lang-item img {
        display: inline-block;
    }
    Hanh

    (@hanhbareau)

    Yes, it worked perfectly! Thank you!

    Not on topic, sorry, but I need this functionality, too. 🙂

    @hanhbareau
    How did you make the language switch? Are you using a plugin, or did you add a menu item with a link to another language site? If so, then how?

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.