Skip to content Skip to sidebar

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 1 reply, has 2 voices.

Last updated by Mohamed Sayed 1 year, 4 months ago.

Assisted by: Mohamed Sayed.

Author Posts
March 27, 2024 at 10:02 am #15454485

felixF-12

Tell us what you are trying to do?

On the top menu for some reason when I hover over 'Español' it changes to a grey colour instead of a yellow, as far as I can tell I have set it up right in the WPML control area, can you see here if I have done anything wrong?

I am a wordpress novice and I am not familiar with using CSS.

Screenshot 2024-03-27 at 10.32.21.png
menu.jpg
March 27, 2024 at 10:34 am #15454847

Mohamed Sayed

Hi there,
Thanks for contacting WPML support.

It seems that the theme colors is overriding the language switcher colors, please try adding the following CSS to Appearance > Customize > Additional CSS section:

.main-navigation .main-nav ul ul li:not([class*="current-menu-"]):hover > a {
    background-color: #ffc107 !important;
}

Let me know please if that helps.

Kind regards,
Mohamed

Screenshot_823.png
March 27, 2024 at 12:09 pm #15455370

felixF-12

yes that worked, thank you!