如何使用从右到左的jquery步骤向导

如何使用从右到左的jquery步骤向导,jquery,css,right-to-left,wizard,jquery-steps,Jquery,Css,Right To Left,Wizard,Jquery Steps,我正在使用插件制作向导,但问题是我无法使步骤从右向左对齐 我的步骤:1.第一步2.第二步 我的期望:2.第二步1.开始(我也在使用rtl语言:) 注意:我使用动态jquery步骤make with() 我试过: $(document).ready(function() { $("#wizard").steps( rtl: true ); }); 但没用,我怎么解决呢?你试过这个吗 .wizard>.steps>ul>li, .wizard>.action

我正在使用插件制作向导,但问题是我无法使步骤从右向左对齐

我的步骤:1.第一步2.第二步 我的期望:2.第二步1.开始(我也在使用rtl语言:)

注意:我使用动态jquery步骤make with()

我试过:

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

但没用,我怎么解决呢?你试过这个吗

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

这是用于从右向左切换jQuery.steps的CSS:

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;
}

对于智能向导jquery v4.x,添加以下css

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

}

您试过这个吗?试过了,对我来说还不够。你能分享你的代码吗?也许这是另一种情况@BenyaminShoham