Hi. Is it possible to change direction of metronic at runtime ? I have an asp.net core application using metronic 8.1.6 template and i need both rtl and ltr versions. When user changes the language , for example persian or arabic, it's need to change the direction to rtl .I tried to change themesettings.json values at runtime to setDirection but doesn't work.Any help please ?
In our Metronic Asp.Net-Core Starterkit RTL and LTR directions are supported, in configuration, you can setup a default version.
If you want to switch direction on runtime then you need to update InitThemeDirection function, instead of setting a static value from the configuration you can set direction from cookies or your database.
Regards, Lauris Stepanovs, Keenthemes Support Team