Skip to content Skip to sidebar

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

Problem:
If you're experiencing issues with your website's layout appearing mixed or missing in translated versions when using automatic translations, particularly with the Carousel widget, this might be relevant to you.
Solution:
We recommend checking if the HTML content within your Carousel widget is correctly formatted. Specifically, ensure that all HTML tags are properly closed. In this case, the issue was caused by a missing closing

</div>

tag in the translations. To resolve this:
1. Navigate to WPML → Settings → Custom XML Configuration and add the necessary configuration to ensure HTML content is correctly passed to the translation.
2. Resend the default homepage for translation by making a small change to the title.
3. Once the translation is completed, the layout should display correctly in all language versions.

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. If issues persist, please open a new support ticket.

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 8 replies, has 0 voices.

Last updated by gertV-7 3 weeks, 4 days ago.

Assisted by: Dražen.

Author Posts
December 11, 2025 at 1:27 pm #17656031

gertV-7

We use automatic translations. When we visit hidden link everything looks good but when we visit the english (hidden link) or french version, the layout is all mixed or half is missing. This happens on different pages.

December 12, 2025 at 7:49 am #17658014

Dražen
Supporter

Languages: English (English )

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

Hi,

please share the access details of your website, so I can log in and take a look.

I’m enabling a private message for the following reply.

We have strict policies regarding privacy and access to your information.

Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/


- Please backup the site files and database before providing us access. 

- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.



Thanks,
Drazen

December 15, 2025 at 8:06 am #17662870

gertV-7

Hi,

Via this link you can login on the website: hidden link

Kind regards,

December 15, 2025 at 8:59 am #17663104

Dražen
Supporter

Languages: English (English )

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

Hello,

Thank you.

I had a quick look, and it appears that the page itself is translated correctly. You can confirm this by editing the English homepage with Elementor (see the attached image).

However, the issue seems to be that this translation is not displaying correctly on the frontend. At this point, it’s not entirely clear what’s causing this behavior, so we’ll need to investigate further in a safe testing environment.

If possible, please create a staging site and test the page using the default **Hello Elementor** theme. Since your site is currently using a custom theme, it’s possible that the theme is contributing to the issue.

If creating a staging site is not an option, please let me know. In that case, I can install the **Duplicator** plugin, create a package of your site, and continue testing locally.

Regards,
Drazen

Edit-Home-test-with-Elementor-12-15-2025_09_58_AM.jpg
December 15, 2025 at 9:29 am #17663220

gertV-7

Hi,

Thanks for the quick reply.

You can install the duplicator plugin to test it locally.
We use WPML a lot on the websites from our clients and never had this issue.

Just now we had 2 sites with this problem. On the other website i was able to fix it by manually translating the page but on this page it is worse because it is on different pages and the automatic translation should work.

Thanks in advance!

December 15, 2025 at 10:02 am #17663358

Dražen
Supporter

Languages: English (English )

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

Hello,

Thank you.

I’ve taken the site package and tested it locally in a minimal environment. I also tried recreating the homepage from scratch, but the same issue still occurs.

At this point, it looks like the problem may be related to the homepage template itself, which could be causing the unexpected behavior.

I’ve escalated this to our second-tier team for further investigation and guidance. I’ll update you as soon as I have more information.

Kind regards,
Dražen

December 17, 2025 at 3:59 am #17669537

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello Gert!
Hope you're doing well.

I'm Prosenjit from the WPML Development Team, and I'll be taking over to help resolve this issue for you.

I've reviewed the entire conversation and understand the problem clearly — the English page layout is breaking while the other language versions display correctly. I'm currently investigating what could be causing this issue on the English page specifically.

Since you've provided access to your site, I'll be looking into this directly and will update you as soon as I have more information or find a solution.

Thank you for your patience while I work through this.

Best regards,
Prosenjit

December 17, 2025 at 7:17 am #17669757

Dražen
Supporter

Languages: English (English )

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

Hello,

we checked further and it seems the issue occurs only while using the Carousel widget. When we remove that, everything works.

We are checking further and will update you soon.

Regards,
Drazen

December 17, 2025 at 8:57 am #17670126

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi Gert,
Thank you for your patience.

I've checked the issue, and I'm happy to inform you that it's now fixed. You can check both the French and English versions of the page — the layout issue should no longer be there.

Within the carousel widget, you were using an HTML widget to display a line. The problem was that the closing </div> tag was missing in the translations, which caused the layout to appear broken in French and English

To fix this issue:

- I added some configuration in WPML → Settings → Custom XML Configuration to ensure HTML content is passed correctly to the translation
- I then resent the default homepage for translation by making a small change to the title
- Once the translation completed, the layout started displaying correctly in both the French and English versions

Please take a look and verify everything looks good on your end. If you have any other questions or need any clarification, feel free to let me know. I'm here to help!

Best regards,
Prosenjit

December 18, 2025 at 8:18 am #17673424

gertV-7

Hi,

Thank you, everything works fine now!

Kind regards.