3

I'm using jquery-steps plugin to make a wizard, but the problem is I can not make the steps right to left aligned.

.e.g: my steps: 1.step one 2.step two my expectation: 2.step two 1.step on (also i'm using an rtl language :) )

note: i'm using dynamically jquery step make with (You can check it here)

I tried:

$(document).ready(function() {
  $("#wizard").steps(
    rtl: true
  );
});

but didn't work, how can I solve it? Regards

STF
  • 1,485
  • 3
  • 19
  • 36
f.bazak
  • 33
  • 4

3 Answers3

2

for smart wizard jquery v4.x add this css

.sw-main .sw-container .step-content {
direction: rtl;
text-align: justify;

}

keivan kashani
  • 1,263
  • 14
  • 15
1

have you tried this : ?

.wizard>.steps>ul>li, .wizard>.actions>ul>li {
    float: right;
}
Rahele Dadmand
  • 573
  • 1
  • 4
  • 17
0

This is my CSS for switching jQuery.steps right to left:

body {
    direction: rtl;
}

.wizard>.steps>ul>li, .wizard>.actions>ul>li {
    float: right;
}

.wizard > .content > .body {
    direction: rtl;
}
.wizard > .content > .body p {
    text-align: right;
}
Benyamin Shoham
  • 2,601
  • 2
  • 13
  • 18