This topic is locked

How to run multiple CSS for multiple languages?

9/14/2021 10:50:35 AM
PHPRunner General questions
M
Mamaghani author

Dear friends;

I have a project that its multi-language. i can add or change every style with use Custom CSS in Editor Page. but this change to overall page with all of languages. i dont know that how i change css for Language A and other Change for Language B.

for example:
i want change color the title in English Language to blue
and change it to Spanish Language to red

Best regards
thank for you

Sergey Kornilov admin 9/14/2021

I don't have the exact solution but I think you would need to write PHP code snippet/event that would analyze the current selected language and would include one or another CSS file based on that info.