Thank you for waiting, while I completed the tests around the missing language switcher flag icons.
During troubleshooting, I noticed that the 'LiteSpeed Cache' plugin's lazy loading feature for images is what is causing those icons to not load properly.
If you go to WP Admin -> LiteSpeed Cache -> Page Optimization -> Media Excludes, you'll see options for:
- Lazy Load Image Class Name Excludes
- Lazy Load Image Parent Class Name Excludes
I've included the class name 'wpml-ls-flag' into the 'Lazy Load Image Class Name Excludes' option and the class name 'switcher-language-wrapper' into the 'Lazy Load Image Parent Class Name Excludes' option and those flag icons are loading correctly now.
( screenshot attached )
If you still see those flag icons missing on any particular device or browser, please clear all involved caches and then test again.
Thank you very much, yes flags now loading correctly 🙂 Have a nice day!
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.