• Resolved rgazetta

    (@rgazetta)



    I’m using the FLAGS style, but how do I remove the text from the label? The admin panel has options like (Language Name, Language Code, Name+Code), but for Brazil it’s showing two letters, PT, and we don’t want PT; the correct version should be BR.
    /////////////////////////////////////////////////////////////////

    One detail I find really cool is from this website: https://www.huge-networks.com/
    Is it possible for styles to have this format?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Pampa Dev

    (@juangirini)

    Hi, in the plugin settings you can customize the styling by going to “Advanced” -> “Custom CSS”.
    As examples you can do some of the following modifications:
    1. See only flags with no text:

    .wpat_lang_name,
    .wpat_lang_name_code,
    .wpat_lang_code {
    display: none !important;
    }

    2. If you prefer to see the country code BR instead of the language code PT you can use this code

    .wpat_flag.br ~ .wpat_lang_code {
    font-size: 0 !important;
    }

    .wpat_flag.br ~ .wpat_lang_code::after {
    content: "BR";
    font-size: 15px;
    line-height: 19px;
    vertical-align: middle;
    }

    Regarding the styling in https://www.huge-networks.com/, what part of that styling do you like?
    Could you also share your website link? I might help you with getting the styling matching your website’s

    Thread Starter rgazetta

    (@rgazetta)

    What I find cool is seeing only 2 letters (country code) and when we click, it shows the 2 letters and the name, giving it a professional feel.

    Thread Starter rgazetta

    (@rgazetta)

    This, word perfect!!!!!!!

    .wpat_flag.br ~ .wpat_lang_code {
    font-size: 0 !important;
    }

    .wpat_flag.br ~ .wpat_lang_code::after {
    content: “BR”;
    font-size: 15px;
    line-height: 19px;
    vertical-align: middle;
    }

    Plugin Author Pampa Dev

    (@juangirini)

    What I find cool is seeing only 2 letters (country code) and when we click, it shows the 2 letters and the name, giving it a professional feel.

    thanks for your feedback, we’ll definitely take this into account for future releases

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.