Specific style for different language

tevart

Avatar: tevart

2012-12-12 13:43

Is it possible to specify css id or class in main css file, that will target style based on language?

On english language i want width 200px, but on polish i want it 150px. I know i can set different template and use style there, but that would complicate things, with two main css files.

Can we get like enClass and plClass, something like $lang[something]Class

tnx

» Quick.Cart v5.x

interkob

Avatar: interkob

2012-12-12 13:57

certainly. use for example class="my$config[language]" and in style sheet that would be .myen {...}, .mypl {...}

tevart

Avatar: tevart

2012-12-12 14:09

Outstanding...tnx man

Back to top
about us | contact