• Hello,

    Despair: how to change the size of flags

    Like thousands of Polylang users, I’m desperately trying to change the image and size of the flags.

    I watched all the tutorials but no solution works and not at all: https://polylang.pro/doc/can-i-use-my-own-flags-for-the-language-switcher/

    Even if I want to change the size of the original flag, I can only change the height and not the width:
    .lang-item img {
    height: 17px! important;
    width: auto! important;
    }

    Since demand is high, can you indicate a working solution to replace the flag images?

    Thank you so much !!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Chouby

    (@chouby)

    Hello,

    You don’t need CSS. You just need to upload your own flag files and follow the process described in the page you linked to.

    Thread Starter mengeco

    (@mengeco)

    Thanks for your very quick response.

    Now custom flags display fine but my images height is 16px and they display 11px as default images height.

    Is it possible to change the size of these images in CSS or other?

    Hello, I also have this problem. Uploaded files are 64px, but displayed flag size is 11px. I want the height at least 20px

    vaniarensi

    (@vaniarensi)

    .plsfe-country-flag img{
    width: 22px;
    }

    Thread Starter mengeco

    (@mengeco)

    Ok, thanks !!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Despair: how to change the size of flags’ is closed to new replies.