Archived topic
GP is above the individual colour settings of the wpml language switcher
7 replies · Started by Torsten on March 10, 2022
Hello,
GP is above the individual color settings of the wpml language switcher.
Everything is customized in WPML BAckend. Only GP does not play along.
WPML support can't help me there.
How can this be changed?
Best regards
Torsten
Hi there,
I am sorry I don't understand. - can you share a screenshot of the issue ?
Hello David,
Example the following css:
wpml-ls-current-language {
color: #009ce1 !important;
background-color: #ffffff;
}
How can you get around the dominance of GP?
Best regards
Torsten
Is the menu item ? as currently this is the CSS being applied to it:
https://www.screencast.com/t/5qlaFqQf
Which isn't GP
That's exactly what he is.
Only this can not be set to active (without hover).
So what do you want it to do ?
Do you want to set a different Hover color when the menu item is current language ? If so try this:
.main-navigation .main-nav ul li.wpml-ls-current-language:hover > a,
.main-navigation .main-nav ul li.wpml-ls-current-language:hover > a span {
color: #f00;
}
Thank you very much. That's it :-)
Awesome - glad to be of help!