Skip Navigation

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

Problem:
The client was experiencing an issue where Elementor template stylings were only visible in the main language (German) and not in other languages (English). This problem occurred when the WPML String Translations plugin was activated, causing the stylings to not be applied in the English version of the site.
Solution:
The problem was identified in the way HTML code was added to the shortcode widget in the Newsletter popup at the site footer. After translating the popup template with the Advanced Translation Editor, it didn't display correctly in the frontend. We fixed the issue by replacing the shortcode widget with an HTML code widget and re-translating the popup template. This adjustment ensured that the styling in the English language matched that of the German language.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, 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 do not hesitate to 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.

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by Long Nguyen 5 months, 2 weeks ago.

Assisted by: Long Nguyen.

Author Posts
July 26, 2024 at 8:39 am

Christian

Background of the issue:
I am developing a site using Elementor and WPML. I added a star icon with red color for testing on the following page at the top right: hidden link. In German, this icon is displayed in red, but in English (hidden link), it is unstyled, as are other elements.

Symptoms:
Elementor template stylings are only available in the main language. In all other languages, the stylings are not transferred.

Questions:
What could be the problem here?
Why are Elementor template stylings not transferred to other languages?
How can I ensure that stylings are applied in all languages?

July 26, 2024 at 9:50 am
July 26, 2024 at 2:42 pm #16009099

Christian

I have further investigated the issue and found out that when the WPML String Translations plugin is deactivated, it works. As soon as this plugin is activated, the error occurs where the styling from Elementor is partially not applied on the English version.

Working link (german): hidden link
Not working link (english): hidden link

I have now copied the current development site to a staging site. The login credentials have remained the same, but please note the new URL:

hidden link

for logging into the staging site. We urgently need help. This is a very urgent matter because we want to go live very soon, in less than 14 days.

Thanks and best regards,
Alex

July 29, 2024 at 4:05 am #16013394

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

After restoring your site on my local host and investigating the issue, I found what caused this.
You are adding the HTML code to the shortcode widget in the Newsletter popup at the site footer and after translating the popup template with the Advanced Translation Editor, it doesn't work in the frontend.

I fix the issue by using the HTML code widget and removing the shortcode widget then re-translate the popup template. Now you can see the style in the English language is the same in the German language.

Looking forward to your reply.
Thanks

Shopping service Alpinlodges Kühtai 2024-07-29 11-04-17.png
Edit
July 29, 2024 at 7:29 am #16014056

Christian

Hi,

Thank you very, very much!!!
Now it works. You have helped us a lot!

I wish you a nice day.

best regards,
Alex