Design and CSS styles
Version 7.x > Design and CSS styles > rtl site version View modes: 
User avatar
Member
Member
pavel.1991-tut - 9/25/2013 6:56:33 AM
   
rtl site version
Hello. Could you tell me one thing, please. I need to add special css class to body tag for rtl cultures. How can I do this?

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 9/25/2013 7:49:12 AM
   
RE:rtl site version
Hello,

Please see the documentation on RTL languages.

Best regards,
Juraj Ondrus

User avatar
Member
Member
pavel.1991-tut - 9/25/2013 8:00:47 AM
   
RE:rtl site version
Yeah, I've read it already. But it is not what I need. In my project I use kendo ui(http://www.kendoui.com/). This is from kendo documentation(http://docs.kendoui.com/getting-started/web/appearance-rtl):
"In order to enable RTL support of the Kendo UI web widgets, please do the following:

1) Register the kendo.rtl.css stylesheet. It is found in the same folder as the kendo.common.css file.
2) Wrap the Kendo widgets in an HTML element with a k-rtl CSS class. You can assign this class to the <body> tag, so that no additional DOM elements are required."

I need to do second point, but I do not know how...

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 9/26/2013 12:36:52 AM
   
RE:rtl site version
HEllo,

so, in this case have you tired adding content before/after HTML code to the widgets/web parts or web part zone to create the HTML envelope as described in the documentation? Or, adding the wrapper directly to the layout and wrap given widget zone.

Best regards,
Juraj Ondrus

User avatar
Member
Member
pavel.1991-tut - 9/30/2013 5:21:15 AM
   
RE:rtl site version
I want to add css class to body as described in the documentation. I do not want to create the HTML envelope for each widgets/web parts or web part zone...

User avatar
Member
Member
pavel.1991-tut - 9/30/2013 6:30:44 AM
   
RE:rtl site version
And moreover, I need to include rtl css stylesheet for this Kendo framework if it is rtl culture. how can I do this?

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 9/30/2013 7:14:19 AM
   
RE:rtl site version
Hello,

Have you tried doing it on the master page template so it is applied for all pages?
The documentation you are refering to is not a Kentico documentation. You may ask the third party how they meant it.

But, you can use the Master page tab in portal engine to edit the master template or, maybe they meant ASPX page templates.

Best regards,
Juraj Ondrus