小林 且昌
li.wpml-ls-menu-item ul li a {
width: auto;
}
doesnt work.
what is css code do i need to write?
and flag is not aligned at center (its located to top) i want it at center (it needs to be located at little down).
Mihai Apetrei
WPML Supporter since 03/2018
Languages:
English (English )
Timezone:
Europe/Bucharest (GMT+03:00)
Hi there.
You can use CSS like this example here:
/* Make the flag show correctly aligned in the middle vertically */
ul .wpml-ls-menu-item a {
display: block !important;
}
/* Make width automatic */
.p-global-nav .sub-menu a {
width: auto !important;
}
Mihai Apetrei
小林 且昌
This is worked.
/* Make the flag show correctly aligned in the middle vertically */
ul .wpml-ls-menu-item a {
display: block !important;
}
flag width auto, all global navi and sub navi has changed to narrow. i want only language switcher flag to be auto width.
/* Make width automatic */
.p-global-nav .sub-menu a {
width: auto !important;
}
Mihai Apetrei
WPML Supporter since 03/2018
Languages:
English (English )
Timezone:
Europe/Bucharest (GMT+03:00)
Hi there.
You can try this instead for the width request:
.p-global-nav .sub-menu .wpml-ls-item a {
width: auto !important;
}
Mihai
小林 且昌
Perfectly worked, thank you