So i have been battling with this, for long time. And even with WPML support, telling me to put make the picture round via css. But to no avail.
But what i said previously is that you actually hardcode the size. Well that was initially wrong, i have figured out what is happening.
When you upload your custom flag, via WPML. it gets physically resized by WPML to that small square image.
So even if you apply CSS and stuff, your image will never be round and nice
So here is the trick
First upload your round images
Go make your WPML language changer, edit the size of the images for example 25x25px fits quite good.
Then you will see it looks like shi* Yes, that is because WPML have resized the actual image.
Now what you want to do is login via FTP, go to /uploads/flags find the original flags, overwrite them with the round flags you previously uploaded via WPML.
Clear cache. Boom, beautiful round flags!! Without using any kind of CSS that does not work anyways because the actual images are resized.....
The topic ‘[Closed] Here is the correct resolution to use round flags in WPML’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.