Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is experiencing an issue where buttons in the header work on desktop but not on mobile. This problem occurs in both languages translated with WPML.
Solution:
We recommend first confirming that the issue is not related to WPML by temporarily disabling WPML. If the issue persists, it suggests that it is a theme or customization issue rather than a WPML issue. The likely cause is that the mobile view header does not have a correct link associated with the button. We advise editing the header and ensuring that the correct link is set for the mobile view. For guidance on adjusting settings for mobile views in Elementor, you can visit this tutorial: Adjust Elementor Settings for Mobile.

If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Should you need further assistance, please open a new support ticket at 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.

This topic contains 2 replies, has 3 voices.

Last updated by Dražen 2 years, 6 months ago.

Assisted by: Dražen.

Author Posts
June 6, 2022 at 11:49 am #11395717

igorP-23

I have a header issue on my site. The buttons work on desktop but on mobile, the link doesn't trigger any action. That applies to both languages translated with WPML

June 6, 2022 at 12:14 pm #11395921

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

Please check my suggestion and get back to us if you need further help with this issue.

If you need more help please share the Debug information of your site.
You can read a detailed explanation about it here.
http://wpml.org/faq/provide-debug-information-faster-support
The debug info will give us a lot of information about how your site is configured and will help us understand the source of the problem.

Regards,
Itamar.

June 6, 2022 at 12:19 pm #11395943

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hello,

as my colleague has already mentioned, this is probably not related to WPML and would happen also without WPML, since it happens in primary languages.

As suggested you can confirm this by disabling WPML.

Even though it is out of scope to fix issues not related to WPML, I have checked and I can see from my side, is that you have different views (buttons) for desktop and for mobile devices. The one that shows on mobile doesn't have any link associated with it. Image attached.

If you edit your header and set a correct link for the mobile view header, I am sure it will work fine. 🙂

- hidden link

I hope I was helpful. Feel free to contact us if you have any other WPML related issue and we will be glad to help.

Regards,
Drazen

Screenshot_2.jpg