Advanced Techniques - Languages written from right to left
If you use languages with different writing direction in one portal, the
element titles should be positioned above the elements in applications.
You could of course just use two different layouts - one for each writing
direction. It's also possible to adjust Velocity files with
custom, language-dependent CSS styles. These Velocity files can be found in
the Portal directory /internal/system/vm/custom
The files are then included at a certain part of the page each time the page
In CSS, there is the text rule rtl (right to left),
this can be used to set the writing direction to right to left.
This rule can be assigned to the universal selector.
The rule can also be used with a pseudo class for the language.
More detailed information about this can be found
the portal layout in the
You'll find the Layout
are on the
left. Here, you could switch to the "Control elements"
view and create a new style for the universal selector. In this example, a rule
will be used for the top-level element - the
- in the
"Structure" view. To begin with, select the
Main Container in the structure.
the right-hand side and click on
"Show CSS properties in grouped table" at the top
of the column.
Adjust the "direction" property of the Main Container
Refresh your portal in the browser.
The writing direction has now been changed.
The cursor will also begin at the right in edit elements.
Please note that this guide will only work correctly with the
corresponding typefaces for languages written from right to left.