This thread is resolved. Here is a description of the problem and solution.
Problem:
The client reported that after translating their website and switching languages from the original to translated versions, the page layout changes from wider to tighter.
Solution:
We recommended the following steps to address the issue:
1. Ensure that the WPML plugin setup follows the instructions provided in the documentation, particularly focusing on the theme option settings. For detailed guidance, visit https://travelerwp.com/how-to-set-up-wpml-plugin/.
2. If the problem persists, enable error reporting to gather more detailed information about the issue. This involves modifying the 'wp-config.php' file to enable WP_DEBUG and related settings. Here is the code to add:
// Enable WP_DEBUG mode<br />define( 'WP_DEBUG', true );<br /><br />// Enable Debug logging to the /wp-content/debug.log file<br />define( 'WP_DEBUG_LOG', true );<br /><br />// Disable display of errors and warnings<br />define( 'WP_DEBUG_DISPLAY', false );<br />@ini_set( 'display_errors', 0 );<br /><br />define( 'SCRIPT_DEBUG', true );
After implementing these changes, check if a debug.log file is created in the wp-content directory and review its contents.
If these steps do not resolve the issue or if the solution 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. If the problem persists, please open a new support ticket for further assistance.
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 2 voices.
Last updated by 1 month, 3 weeks ago.
Assisted by: Noman.