Home › Forums › WoodMart support forum › Visual Composer Problem in RTL Language
Visual Composer Problem in RTL Language
- This topic has 17 replies, 2 voices, and was last updated 7 years, 1 month ago by
Sinaonee.
-
AuthorPosts
-
December 28, 2017 at 12:17 pm #30762
SinaoneeParticipantHello
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)December 28, 2017 at 12:20 pm #30765December 28, 2017 at 12:45 pm #30780
Artem TemosKeymasterHi,
Please, provide us your admin access so we can check these problems.
Thank you
January 21, 2018 at 11:40 am #34555
SinaoneeParticipantMy Admin Access
January 21, 2018 at 8:42 pm #34605
Artem TemosKeymasterHi,
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
January 21, 2018 at 8:56 pm #34616January 21, 2018 at 9:01 pm #34623
Artem TemosKeymasterSorry, add this also
div#wpcontent, div#wpfooter { margin-right: 0; } div#wpcontent { padding-right: 0; }
January 21, 2018 at 9:09 pm #34624
SinaoneeParticipantNot corrected!
My DirectAdmin profile:
January 21, 2018 at 10:51 pm #34634
SinaoneeParticipantand
The Visual Composer (WPBekery) plugin is not active in HTML Blocks. Please enable it.Attachments:
You must be logged in to view attached files.January 22, 2018 at 7:28 am #34662
Artem TemosKeymasterUnfortunately, 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.
January 22, 2018 at 8:06 am #34675
SinaoneeParticipantI 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.January 22, 2018 at 9:03 am #34681
Artem TemosKeymasterIt 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
January 22, 2018 at 9:42 am #34691
SinaoneeParticipantThank you for your guidance. I enabled HTML Block.
But my problem about Visual Composer has not been resolved. 😢January 22, 2018 at 10:32 am #34707
Artem TemosKeymasterThe issue seems to be solved on the frontend https://gyazo.com/8b18b6e23fb32f18027ebc1b19ede0c1
Please, check again now and don’t forget to clear the cache.January 22, 2018 at 11:00 am #34718
SinaoneeParticipantYeah, that was.
Thank you very very much. 🙏💪January 22, 2018 at 11:22 am #34721
SinaoneeParticipantIf 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.January 22, 2018 at 12:21 pm #34739
Artem TemosKeymasterBut you don’t need to specify the row height since you can increase it adding top and bottom paddings.
January 22, 2018 at 12:39 pm #34742
SinaoneeParticipantThanks a lot.
-
AuthorPosts
The topic ‘Visual Composer Problem in RTL Language’ is closed to new replies.
- You must be logged in to create new topics. Login / Register