Skip to content

Instantly share code, notes, and snippets.

View sxshateri's full-sized avatar
👩‍💻
Happily Coding

Shahin Shateri sxshateri

👩‍💻
Happily Coding
View GitHub Profile
@sxshateri
sxshateri / visual-composer-rtl-fix.js
Created July 30, 2019 16:05 — forked from aliaghdam/visual-composer-rtl-fix.js
WordPress Visual Composer full width row ( stretche row ) fix for RTL
jQuery(document).ready(function() {
function bs_fix_vc_full_width_row(){
var $elements = jQuery('[data-vc-full-width="true"]');
jQuery.each($elements, function () {
var $el = jQuery(this);
$el.css('right', $el.css('left')).css('left', '');
});
}