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.
Tagged: Custom Work
This topic contains 3 replies, has 2 voices.
Last updated by Christopher Amirian 3 months, 1 week ago.
Assisted by: Christopher Amirian.
Author | Posts |
---|---|
July 27, 2024 at 11:09 am #16010565 | |
kv-2 |
Background of the issue: Symptoms: Questions: |
July 28, 2024 at 11:38 am #16011961 | |
Christopher Amirian Supporter
Languages: English (English ) Timezone: Asia/Yerevan (GMT+04:00) |
Hi there, The behavior is not the default behavior of the WPML language switcher because you added extra CSS code regarding that to this file (Your child theme CSS file): wp-content/themes/hotel-xenia-child/style.css Check the code from line 343 onward. We will not be able to provide custom CSS coding service as it is outside of our support scope. Thanks. |
July 29, 2024 at 9:36 am #16014909 | |
kv-2 |
Thank you so far Christopher, I tried to remove the whole section from line 343 to 411. but that did not made any difference. Then I noticed an advanced Script and Style editor in the Theme options which had some code under Custom Java Script options. With this I played around a bit changing some values. the code as it is now: var li = jQuery('.wpml-ls-current-language'); if (!ul.find('ul').length) { Any suggestions to come more closer to the solution?? |
July 30, 2024 at 12:12 pm #16020480 | |
Christopher Amirian Supporter
Languages: English (English ) Timezone: Asia/Yerevan (GMT+04:00) |
Hi there, We are not able to delve into a custom code as it is outside of our support scope. You are welcome to hire a developer to handle such issues: I suggest that you remove all the customization and use the default menu language, switcher: https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/ Thanks. |