Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1250340

    Hi there! I’m using WPML and would like to add a language switcher to my mobile menu so it will appear between the logo and the hamburger menu. Any idea how I can do this? I found guides from WMPL support site but did’t get what I was looking.

    How to set only mobile phone language switcher clickable dropdown?

    As in the picture in attachment.

    #1250905

    Hey Tuomo,

    Please the screenshot to a service like Dropbox or http://imgur.com and give us the link here. We cannot see the image in the post above.

    Could you please give us a link to your website, we need more context to be able to help you.

    Best regards,
    Victoria

    #1250906

    Here’s the screenshot what I’m looking for

    #1250979

    Hi Tuomo,

    Is this the website you’re working on? I can see the language flag next to the menu and then on the burger flyout.

    Please have a look at the following thread:

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1250996

    Yes, I’m working on that site.
    On desktop flags are on the right side of the menu. It’s fine and do not need any changes.
    I’m trying to make changes in mobile menu. I’m trying the insert the flag switcher next to the burger menu. Flag switcher is now in burger menu, but that’s not the best place.

    • This reply was modified 4 years, 2 months ago by Tuomo.
    #1252411

    Hi,

    Thank you for the update.

    There is a shortcode called wpml_language_selector_widget that we could use to display the language switcher inside the header beside the mobile menu. We could either add the shortcode directly in the header.php or the includes > helper-main-menu.php file, or use the available hooks inside the mentioned template.

    This documentation should help.

    // https://kriesi.at/documentation/enfold/header/#adding-a-header-widget-area

    We could then use a few css media queries to toggle the visibility of the default and new language switchers.

    Best regards,
    Ismael

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