This thread is resolved. Here is a description of the problem and solution.
Problem:
You are experiencing issues with custom flags stretching on your site despite adding code to prevent resizing and using the PNG format.
Solution:
The issue might be due to a CSS conflict. We recommend checking your site's CSS settings and making necessary adjustments. Additionally, ensure that the language switcher is enabled on your site so we can further investigate the issue. For guidance on setting up custom language flags, please visit Custom Language Flags.
If this solution does not resolve your issue or seems outdated, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. If the problem persists, we highly recommend opening 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.