Change the color of Language Selector – WPML

I installed WPML (multilingual content management system) plug-in. It’s easy to use and I really like it.

But the thing is…. the default colour of language selector widget looks daft!

WPML - Language Selector

WPML - Language Selector

The cobalt blue doesn’t suite for my blog’s theme. I’d like to change it!! Now I’ve found the exactly same topic here in WPML forum.

•Easiest way to cusomize the language selector widget

I overwrote the language-selector.css in wp-content/plugins/sitepress-multilingual-cms/res/css/ folder. You must change the colour code #09c (line:33) if you want a different background colour.

I don’t have much knowledge about PHP, so I could not understand wp_head() thing but it seems if you copy the code of language-selector.css into the current theme’s css, it works! Only you have to set the right path of nav-arrow-down.png, which is ../../plugins/sitepress-multilingual-cms/res/img/nav-arrow-down.png.

I think it’s easier to control the whole blog’s design when you put the css code within the theme’s style.css. Is there any drawbacks, I wonder?

カテゴリー: Wordpress   タグ: , ,   この投稿のパーマリンク

コメントをどうぞ

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

*

次のHTML タグと属性が使えます: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">