页脚中的rtl语言图像

时间:2014-04-06 19:17:23

标签: html css image right-to-left

我正在使用opencart我安装了一个自定义页脚,因为它预览我的Facebook页面等等..问题是我使用的是阿拉伯语,所以它是RTL格式所以我的标题中的图标不正确,因为它是在英语中,它被认为是在文本的右边,但它不是......

我尝试了background-position: 100% 0;,但它将图片放在文字下面......

所以任何想法

我的网站是:www.egy-smoke.com

1 个答案:

答案 0 :(得分:0)

更新您的自定义样式表,所以:

footer #custom-footer > div > div > div h3.facebook {
padding-left: 34px;
background: url(../img/icon-facebook.png) 0px 9px no-repeat;
}

变成这样:

footer #custom-footer > div > div > div h3.facebook {
  padding-right: 34px;
  background: url(../img/icon-facebook.png) 100% 9px no-repeat;
}

对其他自定义项目重复上述操作,例如'اتصلبنا'和'احنامين'

相关问题