This thread is resolved. Here is a description of the problem and solution.
Problem:
The client wanted the language selector to appear in the same line as other menu items on their homepage. On inner pages, the language selector was displaying correctly, but on the homepage, it was dropping to a new line.
Solution:
We noticed that the inner pages were using an Elementor header template with left/right padding of 20px, while the homepage had a padding of 30px. To fix this, we suggested two options:
1. Adjust the menu items padding in the Elementor header template for the homepage to 20px.
2. Add custom CSS to the homepage's custom CSS section:
.elementor-171 .elementor-element.elementor-element-ab5b1bd .elementor-nav-menu--main .elementor-item { padding-left: 20px !important; padding-right: 20px !important; }
We recommended trying these solutions to see if they resolve the issue.
Please note that the solution provided might be irrelevant due to being outdated or not applicable to your case. If the issue persists, we encourage you to open a new support ticket. We also highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please contact us in the WPML support forum.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.