Jump to content

Photo

RTL Support

RTL

  • Please log in to reply
1 reply to this topic

#1 bary40

bary40

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 30 June 2016 - 07:04

Hello,

 

How can I implement RTL support for a theme.

 

In my store I have added a new language that uses RTL, checked the checkbox Right to left.

 

In front-end of the store when I switch to that language I want the RTL function to be applied, what is the best way to achieve this?

 

Do I have to create a new Theme? I want my store to support both ways, RTL and normal layout (LTR).

 

Thanks in advance



#2 SalehBagheri

SalehBagheri

    Advanced Member

  • Members
  • PipPipPip
  • 31 posts

Posted 24 August 2016 - 17:44

i have this problem too,

i solved this issue in "_Root.Head.cshtml" in Views folder.
 
add css files like this:
 

    Html.AddCssParts(ResourceLocation.Head, true,
        "~/Content/{0}/bootstrap.css".FormatInvariant(currentUICulture.ToString()));

S Ʌ L Ξ H - B Ʌ G H Ξ R I

Microsoft Certified Professional