我的wordpress主题中的视觉作曲家行有一个奇怪的问题。
块设置为全宽,但在RTL版本中,VC行在左右两侧显示空白区域。
你可以帮我解决这个问题吗? 我试图编辑边距和填充但无法修复它。感谢。
答案 0 :(得分:2)
在style.css上创建一个有用的类。现在转到您的页面部分。查看具有html视图的页面或原始代码查找div class section-focus bg-dark
,在此之前您还有另一个div class wpb_column col-md-12
。
.nopadding{
padding-left: 0;
padding-right: 0;
}
像这样添加这个nopadding类
<div class="wpb_column col-md-12 nopadding"><!-- Here you need to add that no padding class-->
<div class="section-focus bg-dark">
如果你正确地添加它,你将得到周围没有空白区域。 如果它不起作用然后尝试!重要如[如果你有自定义css文件,那么你不需要使用!重要]
.nopadding{
padding-left: 0 !important;
padding-right: 0 !important;
}
答案 1 :(得分:2)