• Resolved monographix

    (@monographix)


    How can we edit other contents or appearance of a translated page (apart from translating text and images) ?

    For example i need to modify a CSS attribute of a Headline only in a translated page.

    Thank you.
    Nick

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello Nick,

    If yo
    u want to edit an item only in the translated language with css
    You can use the following which will limit the code change to a certain language only:

    .translatepress-en_US

    Followed by it can come a unique css class from an element you want to manipulate. for example:

    .translatepress-en_US .form344 {
    text-size:17px;
    }

    P.S – Don’t forget to change “en_US” in the language slug you want to edit the element to.
    To find what language slug you have for a certain language please go to:
    Wordpress Dashboard -> Settings -> Translatepress General Settings -> copy the language code.
    https://ibb.co/TBgpvvq

    If you have another question or problem regarding the plugin please let me know

    Warmest regards,
    Denis,

    Thread Starter monographix

    (@monographix)

    Thank you !!!

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

The topic ‘language conditional custom CSS’ is closed to new replies.