diff --git a/src/Orchard.Web/Core/Shapes/Views/Document.cshtml b/src/Orchard.Web/Core/Shapes/Views/Document.cshtml index 43ea91b09..2ab534907 100644 --- a/src/Orchard.Web/Core/Shapes/Views/Document.cshtml +++ b/src/Orchard.Web/Core/Shapes/Views/Document.cshtml @@ -7,7 +7,10 @@ string title = Convert.ToString(Model.Title); string siteName = Convert.ToString(WorkContext.CurrentSite.SiteName); - bool isRtl = WorkContext.CurrentCultureInfo().TextInfo.IsRightToLeft; + bool isRtl = WorkContext.CurrentCultureInfo().TextInfo.IsRightToLeft; + if (isRtl) { + Html.AddPageClassNames("dir-rtl"); + } }