Change flag size
Changing the Weglot flag size with CSS
.weglot-flags.flag-3 a::before,
.weglot-flags.flag-3 span::before {
background-image: url("../images/circular_flag.png");
width: 24px !important;
height: 24px !important;
-webkit-background-size: auto 24px !important;
background-size: auto 24px !important;
}/* For English flag */
.weglot-flags.flag-3.en > a::before,
.weglot-flags.flag-3.en > span::before {
background-position: -2520px 0 !important;
}
/* For Portuguese flag */
.weglot-flags.flag-3.pt > a::before,
.weglot-flags.flag-3.pt > span::before {
background-position: -4344px 0 !important;
}Example 1: Smallest flags
Example 2: Biggest flags
Last updated