Title: Hiding function for specific language.
Last modified: October 8, 2019

---

# Hiding function for specific language.

 *  Resolved [cleve](https://wordpress.org/support/users/elfinh/)
 * (@elfinh)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/hiding-function-for-specific-language/)
 * Hello,
 * How can I hide certain function in CSS if it switch to specific language ?
 * for example I want to hide “search” function in english language and I put in
   CSS:
    `html[lang="en"] .top-panel .wrap-search form{display:none!important;}`
   but above CSS code not working and still appear in the website. Any suggestion
   to solve this issue ?

Viewing 1 replies (of 1 total)

 *  [Dragos](https://wordpress.org/support/users/dragosvrejiu/)
 * (@dragosvrejiu)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/hiding-function-for-specific-language/#post-12011985)
 * Hello,
 * Please check the html to see the language.(It is usually en-US)
    We also have
   a body class :translatepress-en_US.
 * Let me know how this goes.
 * Best regards,

Viewing 1 replies (of 1 total)

The topic ‘Hiding function for specific language.’ is closed to new replies.

 * ![](https://ps.w.org/translatepress-multilingual/assets/icon.svg?rev=3166541)
 * [TranslatePress - Translate Multilingual sites with AI Translation](https://wordpress.org/plugins/translatepress-multilingual/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/translatepress-multilingual/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/translatepress-multilingual/)
 * [Active Topics](https://wordpress.org/support/plugin/translatepress-multilingual/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/translatepress-multilingual/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/translatepress-multilingual/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Dragos](https://wordpress.org/support/users/dragosvrejiu/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/hiding-function-for-specific-language/#post-12011985)
 * Status: resolved