Wrong language indication. | WordPress.org

[ad_1]

Plugin Author
edo888

(@edo888)

Hi,

I see the following CSS code in your main.css file:

.language-selector a:not(:nth-child(2)) {
  opacity: 0.5 !important;
}

.language-selector a:nth-child(2) {
  opacity: 1 !important;
}

By default we apply gt-current-lang class to the selected language, which makes it bold by this CSS rule: .gt-current-lang {font-weight:bold}

So if you want to customize the selector you better use gt-current-lang class CSS selector instead of nth-child which is obviously wrong.

I believe you can use something like this instead:

.glink {opacity:0.5}
.gt-current-lang {opacity:1!important}

Thanks! 🙂

  • This reply was modified 2 minutes ago by edo888.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer