Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Fix RTL Stretch(full-width) row in WPBakery Page Builder(Visual Composer) - CSS solution
body.rtl .vc_row[data-vc-full-width] {
position: relative;
width: 100vw !important;
right: 50% !important;
left: auto !important;
transform: translateX(50%) !important;
padding-left: calc( (100vw - 1140px) / 2 ) !important;
padding-right: calc( (100vw - 1140px) / 2 ) !important;
body.rtl .vc_row[data-vc-full-width] {
padding-left: 15px !important;
padding-right: 15px !important;
margin-right: 0 !important;
margin-left: 0 !important;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment