This thread is resolved. Here is a description of the problem and solution.
Problem:
The client wanted to integrate a double flag for Swiss German and Swiss Italian in the language selector. When setting the flag size to auto, the flags were being resized incorrectly, and when trying to set a fixed size with added white space, the flags were enlarged disproportionally.
Solution:
We recommended adding the following line to the
wp-config.php
file:
define( 'WPML_DO_NOT_RESIZE_UPLOADED_FLAGS', true );
We then directed the client to check our guide on Custom Language Flags for further instructions on adjusting the flag size. After these steps, we asked the client to reupload the custom flags and verify if the issue was resolved.
Please note that this solution might be irrelevant due to it being outdated or not applicable to your case. If you're still encountering issues, we highly recommend checking the related 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 with us.
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 3 replies, has 2 voices.
Last updated by 1 year, 3 months ago.
Assisted by: Osama Mersal.