mobile theme that support RTL for version 2.80

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
11 years ago
is there a mobile theme that support RTL for version 2.80 ??

what about RTL mobile for DefaultClean ?

Thanks,
Shay
11 years ago
Anyone ?
11 years ago
ok Hebrew & Arabic users...

i found how to create RTL mobile theme.
here are the steps (for version 2.80) -

1. download jQuery Mobile RTL from -
http://www.intlaqa.com/jquery-mobile-rtl/rtl.jquery.mobile-1.3.0.zip

2. files-
  rtl.jquery.mobile-1.3.0.js
  rtl.jquery.mobile-1.3.0.min.js
should be copied from the ZIP to folder : \Scripts

3. files-
  rtl.jquery.mobile-1.3.0.css
  rtl.jquery.mobile-1.3.0.min.css
should be copied from the ZIP to folder : \XXX\Themes\XXX_Mobile\Content
( i assume you create a new custom theme for mobile like you should do on the desktop version)

4. files -
  Head.Mobile.cshtml
  _Root.Head.Mobile.cshtml
should be copied to folder : XXX\Themes\XXX_Mobile\Views\Shared

5. change file (line 2) - XXX\Themes\XXX_Mobile\Views\Shared\Head.Mobile.cshtml
  @*Html.AppendCssFileParts("~/Themes/XXX_Mobile/Content/jquery.mobile-1.1.1.min.css");*@
  Html.AppendCssFileParts("~/Themes/XXX_Mobile/Content/rtl.jquery.mobile-1.3.0.min.css");

6. change file (line 30) - XXX\Themes\XXX_Mobile\Views\Shared\_Root.Head.Mobile.cshtml  
  @*<script type="text/javascript" src="@Url.Content("~/Scripts/jquery.mobile-1.1.1.min.js")"></script>*@
  <script type="text/javascript" src="@Url.Content("~/Scripts/rtl.jquery.mobile-1.3.0.min.js")"></script>

7. restart the application

8. check your site on a mobile site
(you can also check it on the desktop by changing the setting for storeinformationsettings.emulatemobiledevice)

Shay
11 years ago
Hi.
Is there a way to condition the load of the css (on the mobile version)
on the language selected ?

I use both RTL and LTR languages.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.