1. PROMO Upgrade to Pro Membership @ $99 / Lifetime & access all our 16+ premium Divi extensions: Divi Block, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Solved Polylang language switcher next to hamburger icon on MOBILE MENU

Discussion in 'Free Divi Community Forum' started by Zoozie, Dec 16, 2024.

  1. Zoozie

    Zoozie New Member

    Hello everyone,

    could someone please tell me how to remove the language switcher from the dropdown menu on mobile and put it instead to the main menu to the left to the hamburger icon? I am using Polylang plugin.

    My URL is https://www.janjares.cz

    Thank you for your ideas :)

    polylang-mobile-menu.jpg
     
    1. PRO MEMBER PERKS Divi Ultimate Footer Plugin - Custom global Divi footer (20 premade styles) + Revealing footer effect:Learn More
  2. Divi Booster

    Divi Booster Divi Expert

    Hey Zoozie,

    One way to do it would be to register a new menu location in the Divi header, place the language switcher in its own WordPress menu, and assign that menu to the new menu location. This post has the necessary code to register and style the menu location:

    https://divibooster.com/adding-a-second-menu-in-the-main-divi-header/

    I hope it helps, but give me a shout if you have any questions about it.
     
  3. regoczyzoli

    regoczyzoli New Member

    Hi, I implemented this and works just fine. My only problem is that if I click the hamburger icon, the top menu is displayed twice, but the primary menu is not. Can you help?
     
    1. PRO MEMBER PERKS Divi Mini Cart Pro Plugin - Instantly add 3 different types of mini cart to your Divi site:Learn More
  4. Zoozie

    Zoozie New Member



    Hi there, thank you very much for your solution, I will try it and let you know :)
    Zuzana
     
    Divi Booster likes this.
  5. Divi Booster

    Divi Booster Divi Expert

    Hey regoczyzoli, any chance you're able to share a link to the page you're working on so that I can take a look?
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade card carousel design for your Divi site without using any plugins:View Demo
  6. regoczyzoli

    regoczyzoli New Member

    Sure, here it is: https://www.szentkristofpanzio.com/
     
  7. regoczyzoli

    regoczyzoli New Member

    1. PRO MEMBER PERKS Divi.Help One-Page Layouts - Beautifully crafted one-page Divi layouts just for you:View All Layouts
  8. Divi.Help

    Divi.Help Administrator
    Staff Member

    For a quick fix, try the below CSS in Divi > Theme Options > Custom CSS:
    Code:
    Log In or Sign Up to view this code.
     
  9. regoczyzoli

    regoczyzoli New Member

    Well, it works perfectly now. Thank you very much for jour help! :)
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade gradient text design for your Divi site without using any plugins:View Demo