This thread is resolved. Here is a description of the problem and solution.
Problem:
You are trying to customize the flags for selected languages on your site, specifically wanting to change the shape and color of the flags.
Solution:
WPML does not provide built-in options to directly change the shape or color of language flags. However, you can customize them by following these steps:
1. To change the shape of the flags (e.g., round or square), upload your custom flag images. Navigate to WPML >> Languages >> Site Languages, click the Edit Languages link next to the language, upload the new flag image, and save the changes.
2. Since flags are image files, to change the color, create and upload colored versions of the flags. WPML does not support automatic color changes. If needed, you can use custom CSS to apply visual effects.
Please ensure to take a full site backup before making these changes. For more detailed instructions, refer to the following documentation:
- How to add a custom flag
- Adjusting the flag size
- How to fix styling and CSS issues for the language switchers
If this solution does not apply to your case, or if it seems outdated, we recommend opening a new support ticket. We also 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. For further assistance, please visit our support forum 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.