Skip to content

Instantly share code, notes, and snippets.

View mawad008's full-sized avatar
🎯
Focusing

mawad008 mawad008

🎯
Focusing
View GitHub Profile
@mawad008
mawad008 / laravellocal.md
Created May 28, 2019 13:40 — forked from hootlex/laravellocal.md
Run laravel project locally

##Windows users:

cmder will be refered as console

##Mac Os, Ubuntu and windows users continue here:

  • Create a database locally named homestead utf8_general_ci
@mawad008
mawad008 / fix-rtl-wp-visualcomposer.js
Created April 3, 2018 07:40
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');
});
}
@mawad008
mawad008 / visual-composer-rtl-fix.js
Created April 3, 2018 06:40 — 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', '');
});
}