[Resolved] Wrong menu displayed when adding custom css
This thread is resolved. Here is a description of the problem and solution.
Problem:
Whenever I add custom css code to WPML->languages->language switcher there will be a mixup in the menu that is displayed
Solution:
- Go to "WPML > WP Menus Sync"
- Click on "Sync"
- Select on elements and click "Apply changes"
- If you have some custom links you will have a link at the bottom of the page that will redirects you to "String Translation" to translate them
Whenever I add custom css code to WPML->languages->language switcher there will be a mixup in the menu that is displayed. Event if I add a empty css tag to the custom field.
The menu affected is the menu with the id 22. As soon as I add mentioned css code this menu is "lost" and instead a menu with all the pages is displayed.
Welcome to the WPML support forum. Let's start by meeting WPML's minimum requirements. I've noticed your website has a low PHP memory allocation (40M). The minimum requirement for WPML is 128M but we recommend 256M:
- Access your server via FTP and open wp-config.php (in your WordPress root directory).
- Insert those lines just before /* That's all, stop editing! Happy blogging. */
In short:
- Go to "WPML > WP Menus Sync"
- Click on "Sync"
- Select on elements and click "Apply changes"
- If you have some custom links you will have a link at the bottom of the page that will redirects you to "String Translation" to translate them
Thank you for your feedback. I did follow your recommended steps. It did not produce the desired reult. I will have to do some more tests though. Will get back.
Thank you.
Jan
No problem. This ticket will remain open for 14 days. Let me know how it goes.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.