I looked at some earlier questions regarding WPML and the top nav, but I haven't quite been able to find out how to hide the currently active language in the language selector. I see where it's happening in header.php:
See attachment
However, where would I be able to filter the language selector to hide the active language.
I believe you should be able to hide it using some custom css. There must be a class added in the menu which shows the current language highlighted so we can use that to hide it.
If you can remove the maintenance mode i can write up some css for you.
I looked at some earlier questions regarding WPML and the top nav, but I haven't quite been able to find out how to hide the currently active language in the language selector. I see where it's happening in header.php:
See attachment
However, where would I be able to filter the language selector to hide the active language.
Hey!
I believe you should be able to hide it using some custom css. There must be a class added in the menu which shows the current language highlighted so we can use that to hide it.
If you can remove the maintenance mode i can write up some css for you.
Thanks
ThemeNectar Support Team
Hey!
ThemeNectar Support Team
Tahir,
I wanted to update your code, because I found that the code above also hides all the portfolio filters! Not good.
This will hide the active language, but it will not make your portfolio filters disappear :)
Joseph
Thanks for the follow up.
Cheers
ThemeNectar Support Team