Title: use custom css
Last modified: August 4, 2022

---

# use custom css

 *  Resolved [elrayes](https://wordpress.org/support/users/elrayes/)
 * (@elrayes)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/use-custom-css/)
 * Hello
    simply im using ar/en languages
 * i need to use css to hide element in en
    or control text align …etc
 * how to use css in ar and how to use it in en
 * i try to use body.translatepress-en_US{}
    in english and it effects in body i
   change body to other element class like faq.translatepress-en_US{} to display
   it but it doesn’t work

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [elrayes](https://wordpress.org/support/users/elrayes/)
 * (@elrayes)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/use-custom-css/#post-15892801)
 * 2nd thing
    when translate to en, the product image in single product page is 
   hide
 * and i try some solutions and it doesn’t work until i change the css displaying
 * why ?
 *  Plugin Author [Cristian Antohe](https://wordpress.org/support/users/sareiodata/)
 * (@sareiodata)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/use-custom-css/#post-15896267)
 * Hi,
 * You are right to use the body class. But you need to target CSS correctly.
 * For example,
 * .translatepress-en_US .another-class-that-is-on-the-page {}
 * Basically it’s .parent-css-class .child-css-class {} format.
 * Best Regards.
 *  Thread Starter [elrayes](https://wordpress.org/support/users/elrayes/)
 * (@elrayes)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/use-custom-css/#post-15903942)
 * what about targeting Arabic css ?
    is this true ? .translatepress-ar .class {}
 *  Plugin Author [Cristian Antohe](https://wordpress.org/support/users/sareiodata/)
 * (@sareiodata)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/use-custom-css/#post-15904093)
 * Yes, that is correct.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘use custom css’ 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/)

 * 6 replies
 * 2 participants
 * Last reply from: [Cristian Antohe](https://wordpress.org/support/users/sareiodata/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/use-custom-css/#post-15904093)
 * Status: resolved