Site logo

Archived topic

WPML Language Switcher Flag Size

3 replies · Started by KATSUYUKI on February 19, 2019

Viewing posts 1–4 of 4

I am using GeneratePress plus WPML language switcher and it's working.
I'd like to change the size of the flags in the language switcher widget.
Based on the suggestion of the support team of WPML,
I added following code in my customizer custom css settings:
.site-header .wpml-ls-menu-item .wpml-ls-flag,
.site-navigation .wpml-ls-menu-item .wpml-ls-flag {
width: 36px;
height: 20px;
}
Unfortunately, it didn’t work.
Any suggestion on this issue will be appreciated.

Hi there,

for those in the header widget try this:

.header-widget .wpml-ls-legacy-list-horizontal .wpml-ls-flag {
    width: 30px;
    height: auto;
}

Thank you, David. I did work.
I am glad to find out GeneratePress and WPML are compatible.

Awesome - glad to be of help.

This archived topic is closed to new replies.