Skip Navigation

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

Problem:
You are translating a website into a second language using WPML and notice gaps at the top and bottom of all translated pages.
Solution:
We recommend following these steps to synchronize the page fields properly:
1. Navigate to WPML >> Settings > Custom Fields Translation and set the following page layout fields to "Copy":

medilink_top_padding

medilink_bottom_padding

medilink_banner

medilink_banner_type

medilink_page_menu

medilink_tr_header

medilink_top_bar

medilink_top_bar_style

medilink_header

medilink_footer

Medilink_breadcrumb

2. Click the Save button.
3. Open the default language homepage in Edit mode and press the Update button to sync the fields correctly.
If the issue persists on other pages, try re-saving the page in the default language.
For more details, see the documentation on translating custom fields.

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

Last updated by akmaljonU 4 days, 10 hours ago.

Assisted by: Noman.

Author Posts
February 22, 2025 at 5:04 am #16735718

akmaljonU

Background of the issue:
I'm translating the website hidden link into a second language using WPML. I am following the documentation provided at https://wpml.org/documentation/getting-started-guide/ and https://wpml.org/faq/.

Symptoms:
There are gaps at the top and bottom on all of the translated pages.

Questions:
How can I remove the empty space at the top and bottom of the translated pages?

February 23, 2025 at 11:34 am #16737744

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting WPML Support. I can see the issue in your site. I tried to examine the source code of your site and it seems CSS is not Sync properly somehow. Could you please try to add below CSS:

.content-area {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

In the custom CSS section of the theme and see if this resolves the issue.

If the issue persists, please provide temporary access (WP-Admin and FTP Login info) to your site (preferably staging site), so that I can look into your setup and debug the issue.

Your next answer will be private, meaning only you and I can access it.

=== Please backup your database and website ===

✙ I would additionally need your permission to deactivate and reactivate Plugins and the Theme and to change configurations on the site. This is also a reason the backup is essential.

Thank you

February 23, 2025 at 1:53 pm #16738010

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thanks for providing the login details. I’ve taken the following steps to sync the page fields properly:

1. Went to WPML >> Settings > Custom Fields Translation and set the following page layout fields to "Copy":
medilink_top_padding
medilink_bottom_padding
medilink_banner
medilink_banner_type
medilink_page_menu
medilink_tr_header
medilink_top_bar
medilink_top_bar_style
medilink_header
medilink_footer
Medilink_breadcrumb

2. Clicked the Save button.

3. Opened the default language homepage in Edit mode and simply pressed the Update button to sync the fields correctly.

If you encounter the same issue on other pages, please try re-saving the page in the default language, and it should resolve the issue.

Here is a doc for more details:
https://wpml.org/documentation/getting-started-guide/translating-custom-fields/#decide-how-to-translate

Could you please check and confirm?

Thank you for your cooperation!

After - custom fields.jpg
Before - custom fields.jpg
February 24, 2025 at 7:19 am #16739075

akmaljonU

Thank you Noman for great support, Issue is resolved.