[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