Home›Support›English Support›[Resolved] Hello, the flags on my website are crazy big, it spoils all the website
[Resolved] Hello, the flags on my website are crazy big, it spoils all the website
This thread is resolved. Here is a description of the problem and solution.
Problem: The client was experiencing an issue where the language switcher flags were displaying much larger than expected on their website. Additionally, after an initial fix, the language switcher disappeared on smartphones and appeared strange in the footer.
Solution: First, we provided a CSS snippet to correct the size of the flags:
We also cleared the site's cache to ensure the changes took effect. For the issue with the language switcher not appearing on mobile devices, we created a separate support ticket to maintain focus on one issue at a time, as per our support policy.
If the solution provided here does not apply to your situation, or if it seems outdated, we 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 issue persists, please do not hesitate to 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.
I looked over the code of your website and it seems that this language switcher is served directly by the theme that you are using (please check the screenshot I attached).
To overwrite that, you can use this example of CSS code that you can add to Site backend > Appearance > Customizer > Custom CSS:
Great thanks for this information, I don't know what happened for these flags to become suddenly so big, but you helped me to solve that, thanks a lot 🙂
So sorry, I've been too fast, on the preview in wordpress, everything is ok, but in real nothing has changed !!
I empied the cache of wordpress, Google, firefox, I even tried on a new device, in incognito windows, desperately, the flags are still crazy big.
The code seems to mention both : the template and wpml.
As I mentioned, this issue is not happening due to WPML but I'm happy to take a look in the backend and see if there's a quick fix as custom coding falls out of the purpose of our support policy.
I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.
Our Debugging Procedures
I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.
- Please make a backup of the site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box.
Per our Support Policy, we can handle only one issue per ticket.
Continuing with one issue per ticket helps not only supporters to focus on one issue at once but also enables other users to find solutions to their questions faster.