1
I have a Rails project that needs different images for each language, however and image is pulled from CSS and I can’t change that. How to change the image according to the chosen language?
background: url("/caminho/imagem.jpg");
Edit: I received a lot of responses and forgot to provide some hints, my ruby is 1.8.7 and Rails is 3, it is not advisable to create another css file and although I am not sure, my css is not 2 nor any other more recent.
edit2: and I’m using haml instead of html
You cannot edit CSS, for example, create other classes?
– Kazzkiq
I don’t have clearance for that :D
– André Ventura