Wordpress Visual Composer Strech行和方向RTL [英] Wordpress Visual Composer Strech Row and Direction RTL

查看:70
本文介绍了Wordpress Visual Composer Strech行和方向RTL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试在Visual Composer中的行设置中拉伸行时,行会拉伸,但行的位置都是错误的。
仅当正文方向方向时才会发生:rtl css设置。

When I try to strech row in the row settings in Visual Composer, the row streches, but the position of the row is all wrong. It happens only when body direction has direction:rtl css setting.

网站在线:< a href =http://ono.devurl.net/?page_id=871 =nofollow noreferrer> http://ono.devurl.net/?page_id=871

任何修复方法?

Yuval。

推荐答案

Yuval嘿!

试试这个脚本来解决你的问题。

Try this script to fix your problem.

    if( jQuery('html').attr('dir') == 'rtl' ){
        jQuery('[data-vc-full-width="true"]').each( function(i,v){
            jQuery(this).css('right' , jQuery(this).css('left') ).css( 'left' , 'auto');
        });
    }

将此脚本代码放在jQuery(窗口).load中。

Put this script code in jQuery(window).load.

希望这会对你有所帮助:)

hope this'll help you :)

这篇关于Wordpress Visual Composer Strech行和方向RTL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆