Home Forums WoodMart support forum Visual Composer Problem in RTL Language

Visual Composer Problem in RTL Language

Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #30762

    Sinaonee
    Participant

    Hello

    Visual Composer (WPBekery) Problem in RTL Language

    1. In backend editor, it’s hard to scroll.
    2. In frontend editor, the width of the page can not be fully fetched.
    3. The column gap is not coordinated around and only applied to the left.(Very important)

    #30765

    Sinaonee
    Participant

    Problem 2 Picture

    Attachments:
    You must be logged in to view attached files.
    #30780

    Artem Temos
    Keymaster

    Hi,

    Please, provide us your admin access so we can check these problems.

    Thank you

    #34555

    Sinaonee
    Participant

    My Admin Access

    #34605

    Artem Temos
    Keymaster

    Hi,

    1. We have tested your website but didn’t experience this issue and the scroll works correctly for us.

    2 & 3. Try to put this code snippet to the style.css in your child theme to fix this since Visual Composer is not fully optimized for RTL initially

    .rtl .vc_non_responsive .vc_row .vc_col-sm-offset-12 {
      margin-left: 0;
      margin-right: 100%;
    }
    .rtl .vc_non_responsive .vc_row .vc_col-sm-offset-11 {
      margin-left: 0;
        margin-right:91.66666667%;
    }
    .rtl .vc_non_responsive .vc_row .vc_col-sm-offset-10 {
      margin-left: 0;
        margin-right:83.33333333%;
    }
    .rtl .vc_non_responsive .vc_row .vc_col-sm-offset-9 {
      margin-left: 0;
        margin-right:75%;
    }
    .rtl .vc_non_responsive .vc_row .vc_col-sm-offset-8 {
      margin-left: 0;
        margin-right:66.66666667%;
    }
    .rtl .vc_non_responsive .vc_row .vc_col-sm-offset-7 {
      margin-left: 0;
        margin-right:58.33333333%;
    }
    .rtl .vc_non_responsive .vc_row .vc_col-sm-offset-6 {
      margin-left: 0;
        margin-right:50%;
    }
    .rtl .vc_non_responsive .vc_row .vc_col-sm-offset-5 {
      margin-left: 0;
        margin-right:41.66666667%;
    }
    .rtl .vc_non_responsive .vc_row .vc_col-sm-offset-4 {
      margin-left: 0;
        margin-right:33.33333333%;
    }
    .rtl .vc_non_responsive .vc_row .vc_col-sm-offset-3 {
      margin-left: 0;
        margin-right:25%;
    }
    .rtl .vc_non_responsive .vc_row .vc_col-sm-offset-2 {
      margin-left: 0;
        margin-right:16.66666667%;
    }
    .rtl .vc_non_responsive .vc_row .vc_col-sm-offset-1 {
      margin-left: 0;
        margin-right:8.33333333%;
    }
    .rtl .vc_non_responsive .vc_row .vc_col-sm-offset-0 {
      margin-right:0;
    }
    
    .rtl .vc_col-xs-offset-12 {
      margin-left: 0;
        margin-right:100%;
    }
    .rtl .vc_col-xs-offset-11 {
      margin-left: 0;
        margin-right:91.66666667%;
    }
    .rtl .vc_col-xs-offset-10 {
      margin-left: 0;
        margin-right:83.33333333%;
    }
    .rtl .vc_col-xs-offset-9 {
      margin-left: 0;
        margin-right:75%;
    }
    .rtl .vc_col-xs-offset-8 {
      margin-left: 0;
        margin-right:66.66666667%;
    }
    .rtl .vc_col-xs-offset-7 {
      margin-left: 0;
        margin-right:58.33333333%;
    }
    .rtl .vc_col-xs-offset-6 {
      margin-left: 0;
        margin-right:50%;
    }
    .rtl .vc_col-xs-offset-5 {
      margin-left: 0;
        margin-right:41.66666667%;
    }
    .rtl .vc_col-xs-offset-4 {
      margin-left: 0;
        margin-right:33.33333333%;
    }
    .rtl .vc_col-xs-offset-3 {
      margin-left: 0;
        margin-right:25%;
    }
    .rtl .vc_col-xs-offset-2 {
      margin-left: 0;
        margin-right:16.66666667%;
    }
    .rtl .vc_col-xs-offset-1 {
      margin-left: 0;
        margin-right:8.33333333%;
    }
    .rtl .vc_col-xs-offset-0 {
        margin-right:0%;
    }
    
    @media (min-width: 768px) {
    
      .rtl .vc_col-sm-offset-12 {
        margin-left: 0;
        margin-right:100%;
      }
      .rtl .vc_col-sm-offset-11 {
        margin-left: 0;
        margin-right:91.66666667%;
      }
      .rtl .vc_col-sm-offset-10 {
        margin-left: 0;
        margin-right:83.33333333%;
      }
      .rtl .vc_col-sm-offset-9 {
        margin-left: 0;
        margin-right:75%;
      }
      .rtl .vc_col-sm-offset-8 {
        margin-left: 0;
        margin-right:66.66666667%;
      }
      .rtl .vc_col-sm-offset-7 {
        margin-left: 0;
        margin-right:58.33333333%;
      }
      .rtl .vc_col-sm-offset-6 {
        margin-left: 0;
        margin-right:50%;
      }
      .rtl .vc_col-sm-offset-5 {
        margin-left: 0;
        margin-right:41.66666667%;
      }
      .rtl .vc_col-sm-offset-4 {
        margin-left: 0;
        margin-right:33.33333333%;
      }
      .rtl .vc_col-sm-offset-3 {
        margin-left: 0;
        margin-right:25%;
      }
      .rtl .vc_col-sm-offset-2 {
        margin-left: 0;
        margin-right:16.66666667%;
      }
      .rtl .vc_col-sm-offset-1 {
        margin-left: 0;
        margin-right:8.33333333%;
      }
      .rtl .vc_col-sm-offset-0 {
        margin-right:0;
      }
    }
    @media (min-width: 992px) {
    
      .rtl .vc_col-md-offset-12 {
        margin-left: 0;
        margin-right:100%;
      }
      .rtl .vc_col-md-offset-11 {
        margin-left: 0;
        margin-right:91.66666667%;
      }
      .rtl .vc_col-md-offset-10 {
        margin-left: 0;
        margin-right:83.33333333%;
      }
      .rtl .vc_col-md-offset-9 {
        margin-left: 0;
        margin-right:75%;
      }
      .rtl .vc_col-md-offset-8 {
        margin-left: 0;
        margin-right:66.66666667%;
      }
      .rtl .vc_col-md-offset-7 {
        margin-left: 0;
        margin-right:58.33333333%;
      }
      .rtl .vc_col-md-offset-6 {
        margin-left: 0;
        margin-right:50%;
      }
      .rtl .vc_col-md-offset-5 {
        margin-left: 0;
        margin-right:41.66666667%;
      }
      .rtl .vc_col-md-offset-4 {
        margin-left: 0;
        margin-right:33.33333333%;
      }
      .rtl .vc_col-md-offset-3 {
        margin-left: 0;
        margin-right: 25%;
      }
      .rtl .vc_col-md-offset-2 {
        margin-left: 0;
        margin-right:16.66666667%;
      }
      .rtl .vc_col-md-offset-1 {
        margin-left: 0;
        margin-right:8.33333333%;
      }
      .rtl .vc_col-md-offset-0 {
        margin-right:0;
      }
    }
    @media (min-width: 1200px) {
      .rtl .vc_col-lg-offset-12 {
        margin-left: 0;
        margin-right:100%;
      }
      .rtl .vc_col-lg-offset-11 {
        margin-left: 0;
        margin-right: 91.66666667%;
      }
      .rtl .vc_col-lg-offset-10 {
        margin-left: 0;
        margin-right:83.33333333%;
      }
      .rtl .vc_col-lg-offset-9 {
        margin-left: 0;
        margin-right:75%;
      }
      .rtl .vc_col-lg-offset-8 {
        margin-left: 0;
        margin-right:66.66666667%;
      }
      .rtl .vc_col-lg-offset-7 {
        margin-left: 0;
        margin-right:58.33333333%;
      }
      .rtl .vc_col-lg-offset-6 {
        margin-left: 0;
        margin-right:50%;
      }
      .rtl .vc_col-lg-offset-5 {
        margin-left: 0;
        margin-right:41.66666667%;
      }
      .rtl .vc_col-lg-offset-4 {
        margin-left: 0;
        margin-right:33.33333333%;
      }
      .rtl .vc_col-lg-offset-3 {
        margin-left: 0;
        margin-right: 25%;
      }
      .rtl .vc_col-lg-offset-2 {
        margin-left: 0;
        margin-right: 16.66666667%;
      }
      .rtl .vc_col-lg-offset-1 {
        margin-left: 0;
        margin-right: 8.33333333%;
      }
      .rtl .vc_col-lg-offset-0 {
        margin-right: 0%;
      }
    }

    Regards

    #34616

    Sinaonee
    Participant

    Not corrected!

    Attachments:
    You must be logged in to view attached files.
    #34623

    Artem Temos
    Keymaster

    Sorry, add this also

    div#wpcontent, div#wpfooter {
    	margin-right: 0;
    }
    
    div#wpcontent {
    	padding-right: 0;
    }
    #34624

    Sinaonee
    Participant

    Not corrected!

    My DirectAdmin profile:

    #34634

    Sinaonee
    Participant

    and
    The Visual Composer (WPBekery) plugin is not active in HTML Blocks. Please enable it.

    Attachments:
    You must be logged in to view attached files.
    #34662

    Artem Temos
    Keymaster

    Unfortunately, our theme styles are not applied on the editor page. But when you visit your website on frontend it will work correctly. If you want to fix the editor you will need to find its CSS files and add the following code there

    .rtl.vc_editor div#wpcontent, div#wpfooter {
    	margin-right: 0;
    }
    
    .rtl.vc_editor div#wpcontent {
    	padding-right: 0;
    }

    For HTML Block you can activate easily in Dashboard -> WPBakery page builder.

    #34675

    Sinaonee
    Participant

    I do not understand! There was no problem in previous versions! Look at the front page of the site. The right does not change.

    For HTML Block, I did not find anything!

    Attachments:
    You must be logged in to view attached files.
    #34681

    Artem Temos
    Keymaster

    It was before the update as well. Try to add the following code snippet as well since we didn’t see it before

    html.platform-Windows .rtl.wrapper-full-width .vc_row[data-vc-full-width], html.platform-Windows .rtl.wrapper-full-width section[data-vc-full-width] {
      right: auto;
      left: calc((100vw - 1222px - 17px)/ 2);
    }
    
    body.rtl.wrapper-full-width .vc_row[data-vc-full-width], 
    body.rtl.wrapper-full-width section[data-vc-full-width] {
      right: auto;
      left: calc((100vw - 1222px)/ 2);
    }
    
    body.rtl .vc_row[data-vc-full-width], 
    body.rtl section[data-vc-full-width] {
        right: auto;
        left: calc((-100vw - -95vw)/ 2);
    }

    Read this article about how to enable the builder for other post types https://wpbakery.atlassian.net/wiki/spaces/VC/pages/524324/I+can+not+use+WPBakery+Page+Builder+on+Posts+and+Custom+Posts

    #34691

    Sinaonee
    Participant

    Thank you for your guidance. I enabled HTML Block.
    But my problem about Visual Composer has not been resolved. 😢

    #34707

    Artem Temos
    Keymaster

    The issue seems to be solved on the frontend https://gyazo.com/8b18b6e23fb32f18027ebc1b19ede0c1
    Please, check again now and don’t forget to clear the cache.

    #34718

    Sinaonee
    Participant

    Yeah, that was.
    Thank you very very much. 🙏💪

    #34721

    Sinaonee
    Participant

    If possible, give me the css code to set the height of rows in Visual Composer like 500 pixels.

    Attachments:
    You must be logged in to view attached files.
    #34739

    Artem Temos
    Keymaster

    But you don’t need to specify the row height since you can increase it adding top and bottom paddings.

    #34742

    Sinaonee
    Participant

    Thanks a lot.

Viewing 18 posts - 1 through 18 (of 18 total)

The topic ‘Visual Composer Problem in RTL Language’ is closed to new replies.