Hello!
I am translating my page (with automatic translations).
I have problem with menu translation.
In default language and in English – everything looks fine. But in Estonian language words are bigger, so I would like to know – how to make this work? Maybe it is possible to make menu place wider or make menu items (category names) written in 2 lines?
A am using Woodmart theme. See attached in screenshots my problem – English version looks nice, but in Estonian last category goes in next row. I would like that everything is fixed and looks nice.
Thank you for contacting WPML Support. Please note that the WPML just provides the translation features for your site and the layout is handled by your current theme and you might be able to control it from theme options, or please try the either of the below steps:
1. You may ask the theme author to increase the menu container size to fit the menu items in it.
2. You can use ‘:lang’ selector with language code just before other CSS selectors to use different CSS for different languages. So in this case you may use this type of CSS in the custom CSS section of your theme to apply different font size in Latviešu language:
:c(lv) .menu-item a {
font-size: 12px;
}
And it will look as in the attached screenshot. You may update it according to your needs.