Skip to content

Instantly share code, notes, and snippets.

@mawad008
Created April 3, 2018 07:40
Show Gist options
  • Save mawad008/da8605ffade798c7072b23ad8b975abf to your computer and use it in GitHub Desktop.
Save mawad008/da8605ffade798c7072b23ad8b975abf to your computer and use it in GitHub Desktop.
fix RTL error WP Visual composer full width row
// Mawad Fix RTL Error page builder
//
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');
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment