我的 wordpress 主题中的视觉作曲家行有一个奇怪的问题。
块设置为全宽,但在 RTL 版本中,VC 行在左右两侧显示空白。
你能帮我解决这个问题吗?我试图编辑边距和填充,但无法修复它。
谢谢。
我的 wordpress 主题中的视觉作曲家行有一个奇怪的问题。
块设置为全宽,但在 RTL 版本中,VC 行在左右两侧显示空白。
你能帮我解决这个问题吗?我试图编辑边距和填充,但无法修复它。
谢谢。
在你的 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">
如果您正确添加它,您将得到周围没有空白。
如果它不起作用,请尝试使用 !important ,例如 [如果您有自定义 css 文件,那么您不需要使用 !important]
.nopadding{
padding-left: 0 !important;
padding-right: 0 !important;
}