I am working with Polylang and have 2 flags in the main menu (german and english). As there was not enough space in the main menu when I expanded my structure, the flags are placed in a second row now, and they are not clickable any more. What do you recommend? Should I expand the width of the main menu? Where do I do that?
I’ve checked your site, and the menu already has enough space to display all the content on one line, including the flag. Please see the attached screenshot: https://postimg.cc/68x8Mh5c/c5a4d559
After adding the custom CSS code, kindly make sure to clear all site caches. The custom CSS may not apply because the WP-Optimize “Minify all CSS files” feature is enabled, and it may not include the newly added CSS code.
Please clear the cache (or temporarily disable the minify option) and then check again.
Hi,
I am working with Polylang and have 2 flags in the main menu (german and english). As there was not enough space in the main menu when I expanded my structure, the flags are placed in a second row now, and they are not clickable any more. What do you recommend? Should I expand the width of the main menu? Where do I do that?
Attached files: Screenshot 2026-02-12 143820.png
Hi,
Please go to Appearance → Customize → Custom CSS then add the following custom CSS code:
#navigation .menu > ul > li, #navigation ul.menu > li { margin-right: 15px; }Regards,
PenciDesign.
Have done so, but nothing happened.
It did not work, but I changed now WELCOME into HOME and saved some space. Now the flags are on the top again. But is there no better way?
Hi,
I’ve checked your site, and the menu already has enough space to display all the content on one line, including the flag. Please see the attached screenshot: https://postimg.cc/68x8Mh5c/c5a4d559
After adding the custom CSS code, kindly make sure to clear all site caches. The custom CSS may not apply because the WP-Optimize “Minify all CSS files” feature is enabled, and it may not include the newly added CSS code.
Please clear the cache (or temporarily disable the minify option) and then check again.
Regards,
PenciDesign.
Thanks, I did it and it works.