Sauter la navigation

Il s'agit du forum d'assistance technique de WPML, le plug-in multilingue pour WordPress.

Il est accessible à tous, toutefois seuls les clients de WPML peuvent y publier leurs messages. L'équipe du WPML répond sur le forum 6 jours par semaine, 22 heures par jour.

Ce sujet contient 1 réponse, a 0 voix.

Dernière mise à jour par Nicolas V. Il y a 1 semaine.

Assisté par: Nicolas V..

Auteur Articles
décembre 4, 2024 à 9:48 pm #16478741

Martin D

Hey Nicolas, thanks for your quick help. Well hats strange. You think that might come from string translations? I checked this page with another listing and it looks good so far in order to the listing. (lien caché)

However I noticed that the layout of the main menu is broken now in the french version. On all pages. Pls see the screenshots. The phone number, button at profil is not at the same line anymore. It "moved to far" I guess.

And I noticed that the page you resolved works fine, but instead that the text is after the listing, in the french version now it's before the listing. (pls see screenshots)

Kindly

Martin

décembre 4, 2024 à 9:58 pm #16478758

Nicolas V.
Supporter

Les langues: Anglais (English ) Français (Français )

Fuseau horaire: America/Lima (GMT-05:00)

Hi Martin,

The French menu takes more space than the German one and therefore goes into 2 lines.

If I reduced the length of certain menu elements in my browser and it all fits on one line (see screenshot).

- Go to "Appearance > Menus" and select "Menu TOP"
- Click on the pencil for french to manually edit the french translation
- Rename some Navigation label to save space (like Immobilier-Sud de la France)

Ref: https://wpml.org/documentation/getting-started-guide/translating-menus/

PS: another solution would be to work on your CSS to reduce the font sizes, margins, paddings in other to have a more condensed design to fit all on one line.

screenshot-2024_12_04-16_45_37.png