Css to Change Color of Active Language Custom Menu in qTranslate-X

April 25, 2016

You might want to check Solution for Custom Menu Auto Converted Error in qTranslate-X first. We have added custom language URL by using qTranslate-X plugin. But now we want to change color of active language without ading any new CSS ID or Class.Lets see how we did it.

css-tips1

And this is how we did it:

css-tips2

Where there are 2 unique class .menu-item-30861 and .menu-item-30860 and we identify the language with this lang() property.

You May Also Like…

0 Comments

Submit a Comment

Your email address will not be published.