Skip Navigation

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

Problem:
After translating and saving the homepage using WPML, the page format is no longer correct. The standard German version displays as full-width, while the English version has white borders on the right and left, not displaying as full-width.

Solution:
1. Check and set the width of the page by adjusting the custom field configuration. Follow the steps in this guide: https://wpml.org/documentation/getting-started-guide/translating-custom-fields/. Edit the page in the original language, make a small content change, save the changes, and update the translation.

2. Increase the WP memory limit. Change the WP memory limit in wp-config.php by adding the following code above the line /* That's all, stop editing! Happy blogging. */:

/* Memory Limit */
define('WP_MEMORY_LIMIT', '256M');

Double-check the WordPress memory limit in WPML -> Support.

3. Adjust the Custom Field Translation settings in WPML → Settings. Change "Don’t translate" fields to "Translate" for the necessary fields.

Relevant Documentation:
- Translating Custom Fields: https://wpml.org/documentation/getting-started-guide/translating-custom-fields/
- WPML Minimum Requirements: https://wpml.org/home/minimum-requirements/

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 4 replies, has 2 voices.

Last updated by Carlos Rojas 1 year, 7 months ago.

Assisted by: Carlos Rojas.

Author Posts
November 2, 2023 at 11:20 am #14715809

minaB-4

Hello!
I translated and saved the homepage using WPML. Unfortunately the page format is no longer correct. The standard German language is a full width side and the English version has white borders on the right and left, so not full width.
What do i have to do?

Please send me an E-Mail/answer to: info@samy-design.de (I´m the wp-admin)

November 2, 2023 at 11:48 am #14715905

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

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

Hello,
Thank you for contacting us

1.- In these cases, usually the width of the page is set by an option that is saved in a custom field. Please follow the steps described in this guide to find the custom field and set it as copy: https://wpml.org/documentation/getting-started-guide/translating-custom-fields/

Once you set the configuration, then edit the page in the original language, make a small change to the content, save the changes and update the translation.

2.- Please increase the WP memory Limit. Minimum requirements are 128Mb: https://wpml.org/home/minimum-requirements/
You can add this to wp-config.php to increase WP memory:`

/* Memory Limit */
define('WP_MEMORY_LIMIT', '256M');

- Add it above the line /* That's all, stop editing! Happy blogging. */

You can double-check the WordPress memory limit in WPML -> Support

Regards,
Carlos

November 2, 2023 at 2:35 pm #14717815

minaB-4

Hi Carlos,

thank you for your support. In the meantime I have increased the WP memory Limit.
When I look in the WPML → Settings and scroll to the Custom Field Translation section, then there are the most "Don’t translate" fields active. Shall I change this and turn all to "Translate"? Enclosed I send you a screenshot.
Regards,
Samy

Bildschirmfoto 2023-11-02 um 15.29.35.png
November 2, 2023 at 4:31 pm #14719567

minaB-4

So, now I changed many fields to "Translation" as you can see in the screenshot.
Now the englich Version has also the right size - full width. It works! Thank you very much!

Regards,
Samy

Bildschirmfoto 2023-11-02 um 17.21.45.png
November 2, 2023 at 5:21 pm #14720045

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

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

Hi Samy,

I'm glad to hear that the issue is solved 🙂

Please don't hesitate to contact us if you need our help in the future with WPML. We will be more than happy to help.
Best regards,
Carlos