Change CSS based on language
-
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, https://powerplaykc.info/north/
*Language flags are in upper right of banner.
Thanks,
Codyhttps://www.ads-software.com/plugins/google-language-translator/
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Change CSS based on language’ is closed to new replies.