Forum Discussion
support for right-to-left?
My team at the open University of Israel, would also like to test the RTL beta feature, can you please include us?
in the meantime, this is the workaround we're doing:
Export and download your Rise project.
In the "index.html" file, change the <HTML> tag from this:
<html lang="en" class="">
To this:
<html lang="he" class="" dir="rtl">
"he" sets the language to Hebrew, and "rtl" sets the direction right to left
If you're using a language that's not supported by the default font used by Rise, you must add the font file to the directory: lib\fonts,
and changed the font in the "index.html" file, using the <STYLE> tag
Write your font instead of the bolded ones below:
.brand--head, .brand--head * { font-family: Open Sans !important; }
.brand--body, .brand--body * { font-family: Open Sans !important; }
.brand--lhead, .brand--lhead * { font-family: Open Sans !important; }
.brand--lbody, .brand--lbody * { font-family: Open Sans !important; }
.brand--ui, .brand--ui * { font-family: Lato !important; }
.brand--beforeHead:before { font-family: Open Sans !important; }
.brand--afterHead:after { font-family: Open Sans !important; }
Save the "index.html" file, and you're done!
Hey, Danit. Thanks for suggesting this workaround.
Could you point me to a Rise-developed course that uses it?
I'd like to see what the output looks like.
Thanks!