Mistake with Czech flag

Home Forums WordPress Plugins Language Switcher Mistake with Czech flag

Viewing 3 reply threads
  • Author
    Posts
    • #8155
      seo
      Participant

      hi!

      When you set up CZECH flag instead of it is showing Moldavian flag.

      Its very bad for business. Please fix it, its very important!

       

    • #8156
      Rafasashi
      Keymaster

      Hello,

      Thank you for reporting this.

      The CSS for the Czech flag is missing in the example.

      We will add it but in the meantime you can manually add this into your style:

      .flag.flag-cs{
      	background-position:-16px -33px
      }
      • This reply was modified 1 week ago by Rafasashi.
      • This reply was modified 1 week ago by Rafasashi.
    • #8161
      seo
      Participant

      Hi, Rafasashi!
      Thank you very much for quick support!

    • #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

      • #8166
        Rafasashi
        Keymaster

        Yes this is the flag of England:

        https://en.wikipedia.org/wiki/Flag_of_England

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

        In some cases (such as UK) 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 forcing the CSS rule to point 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 4 seconds ago by Rafasashi.
Viewing 3 reply threads
  • You must be logged in to reply to this topic.