Created
April 3, 2018 07:40
-
-
Save mawad008/da8605ffade798c7072b23ad8b975abf to your computer and use it in GitHub Desktop.
fix RTL error WP Visual composer full width row
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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