Inhalte aufrufen

Profilbild

RTL Support

RTL

1 Antwort zu diesem Thema

#1 bary40

bary40

    Newbie

  • Members
  • 1 Beiträge

Geschrieben: 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

    Member

  • Members
  • 19 Beiträge

Geschrieben: 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()));




Auf dieses Thema antworten