fbpx
Skip to content
Questions & AnswersCategory: QuestionsOnly one icon for language selector (hiding current language)?
lukas.bischof asked 7 years ago
Dear team,  I just bought multilingualizer for two languages (German and English) and I cannot seem to find an answer to this question: I would like to have just one button to "switch" between languages, ideally with an icon. Is it possible to show only the icon of the language not currently shown? www.lukasbischof.eu  Thanks a lot! Lukas 
Marco replied 7 years ago

We are having the same issue.

1 Answers
Dave Hilditch Staff answered 6 years ago

Hi – yes it is possible. In the CSS I made, the currently selected language has an additional class called ‘active’. So, if you want to HIDE the active language, you could add this kind of CSS:
 

.languagewrapper .language.active {
display:none;
}

We use cookies

We use cookies for various things on our site, including our on-site chat bubble (if you use it), our comment forms (if you use them) and for session handling (if you log in).

Other than that, we use cookies to identify where traffic came from to help us understand which traffic turns into sales, we use a cookie for Google Analytics traffic analysis and we use a cookie to customise adverts for our own products we think you'll be interested in.

You can read more detail in our privacy policy page. Please click 'Accept' or 'Decline' to continue.