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

Via:MyTutorialGuru.com

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.

Advertisements

Posted on April 25, 2016, in Uncategorized and tagged , , . Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: