Mistake with English flag

Home Forums WordPress Plugins Language Switcher Mistake with English flag

  • This topic is empty.
Viewing 1 reply thread
  • Author
    Posts
    • #8163
      seo
      Participant

      Sorry, but with English i have the same situation.
      Rafasashi, can you add css code for english flag? Thanks!
      https://imgsh.net/a/mx6yyNY.png

      • This topic was modified 2 years, 1 month ago by Rafasashi.
      • This topic was modified 2 years, 1 month ago by Rafasashi.
    • #8166
      Rafasashi
      Keymaster

      The plugin follows the core WP language location/pair and point to the national flag.

      In some cases (such as UK or US) it might not reflect the identity of the site and this is why I made the flag implementation optional by manually adding it to the CSS.

      My suggestion to solve this issue is to tweak the CSS either by modifying the image containing all the flags located or by pointing the CSS rule to another flag.

      To use a custom image follow these steps:

      1 – Download the flag image located in the plugin at:

      language-switcher\assets\images\flags.png

      2 – Modify the flag with an image editor

      3 – Upload the new flags in your media gallery

      4 – Replace manually the url of the old flags by the new flags in the CSS rule

      This change will not be affected by future plugin upgrades.

      • This reply was modified 2 years, 1 month ago by Rafasashi.
      • This reply was modified 2 years, 1 month ago by Rafasashi.
      • This reply was modified 2 years, 1 month ago by Rafasashi.
Viewing 1 reply thread
  • You must be logged in to reply to this topic.