My site is in English and I want to offer translation to Spanish. Since Spanish words have more characters than English words I’d like to adjust the CSS when the site is translated into Spanish.
I tried looking at the source code to see if there was a lang=”” change but there isn’t. Is there any way I can check whether the site has been translated by the plugin so I can setup an if/else statement for my stylesheet?
Here is the beta site I’m working with, http://powerplaykc.info/north/
*Language flags are in upper right of banner.
- The topic ‘Change CSS based on language’ is closed to new replies.