Forum Discussion
Right to left language In Rise
Oops! 😱 I've accidently deleted my post on how to make right to left content work with Rise,
so here it is again:
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!