Jquery popover引导程序内部的文本方向从右向左(rtl)

Jquery popover引导程序内部的文本方向从右向左(rtl),jquery,html,twitter-bootstrap,popover,Jquery,Html,Twitter Bootstrap,Popover,我尝试编写一个出现在hover上的简单popover,到目前为止相当简单。 问题是我不想用英语写标题,事实上我想用希伯来语写标题。大家都知道,语言的方向是rtl而不是ltr。我的问题是我无法更改text属性的方向,已经尝试使用class=pull right 代码如下: $(document).ready(function(){ $('#start').popover({ html : true, content: "as you can see the hebrew text

我尝试编写一个出现在hover上的简单popover,到目前为止相当简单。 问题是我不想用英语写标题,事实上我想用希伯来语写标题。大家都知道,语言的方向是rtl而不是ltr。我的问题是我无法更改text属性的方向,已经尝试使用class=pull right

代码如下:

$(document).ready(function(){
$('#start').popover({
    html : true, 
    content: "as you can see the hebrew text doesnt fit the title",
    title: "<div class='pull-right'>שלום</div>",
    placement : "bottom",
    trigger: "hover"


    });   


});
$(文档).ready(函数(){
$(“#开始”).popover({
是的,
内容:“正如你所见,希伯来文与标题不符”,
标题:“שלום”,
位置:“底部”,
触发器:“悬停”
});   
});

以下是链接

删除שלום周围的div标记,并在css中写入:

.popover-title {text-align: right;}

这是你的

棒极了,它正在工作,但是如果我想要一个标题是rtl,一个标题是用英语写的,我想是LTR,你可以为每个标题创建一个数据样式属性,就像并更改你想要的属性一样。还有一个问题。。。如何更改箭头颜色?您需要更改箭头上的边框颜色。箭头:之后。如果您有疑问,可以在上检查布局。