Language-specific css class
-
Certain layouts on my site break when translated from English to German. I’m wondering if it’s possible hook into the user’s selected language choice to dynamically add a language-specific css class. I want to create layout styles that change depending on the language selected.
For example if German language was selected it would add a “german” class to thebody
tag. Then I could adapt my stylesheet to change styles for a div withinbody.german
. (or a similar solution)The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Language-specific css class’ is closed to new replies.