• Resolved elrayes

    (@elrayes)


    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

    (@elrayes)

    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

    (@sareiodata)

    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

    (@elrayes)

    what about targeting Arabic css ?
    is this true ?
    .translatepress-ar .class {}

    Plugin Author Cristian Antohe

    (@sareiodata)

    Yes, that is correct.

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

The topic ‘use custom css’ is closed to new replies.