Last active
October 5, 2019 09:30
-
-
Save MHitMaN/8fb9df4a2c81848800f36f1911b448b0 to your computer and use it in GitHub Desktop.
Fix edit block and row buttons RTL Visual Composer(WPBakery) Admin area WordPress
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
<?php | |
// Put this code into your current theme functions. | |
// This will fix your RTL issue with the controls row on Visual Composer(WPBakery). | |
add_action('admin_head', 'fix_rtl_wpbakery_css'); | |
function fix_rtl_wpbakery_css() { | |
echo '<style> | |
.vc_controls-row { | |
direction: ltr; | |
} | |
.controls_row .vc_row_layouts:hover { | |
max-width: unset !important; | |
} | |
</style>'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment