How to add Flags with the countries in the switcher?
Last updated
Last updated
You can use the following HTML snippet to display country flags alongside country names in the switcher:
Replace [country-code]
with the appropriate . For example:
For the United States, use 'us'
:
<span class='fi fi-us'></span>
For Canada, use 'ca'
:
<span class='fi fi-ca'></span>
This will render the respective country's flag in the switcher.