wordpress - Wordpress 删除类="the_content_wraper"
问题描述
我希望我的 wordpress 网站是全屏的,但我的左侧和右侧都有一个白色边框。
它是由以下原因引起的:class="the_content_wraper" 是否有可能用 css 代码将其删除?
<div class="section_wrapper">
<div class="the_content_wrapper">
<iframe src="https://www.xxxxx.xx" width="100%" height="100%" frameborder="0">
</iframe>
</div>
</div>
解决方案
最后它起作用了:
.section_wrapper, .container {
margin: 0 auto;
max-width: 100%;
position: relative;
content-wraper: 0px;
}
.section_wrapper{
padding-left: 0px !important;
padding-right: 0px !important;
margin:0px;
}
.the_content_wrapper{
margin:0px;
}
推荐阅读
- c# - 发送复选框值以访问数据库
- react-native - react-native-image-picker: NativeModule.ImagePickerManager 为空
- r - 在数据帧上使用聚合函数时无法将类“函数”强制为数据帧
- java - 按下 Android Studio 音量按钮
- c++ - 向网络浏览器提供名为“index.html”的默认网页
- c# - 如何将数据从 CSV 分配到对象
- python-3.x - 如何制作正号组和负号组的组
- java - 如何解决此错误:在模块中发现重复的类 com.google.android.gms.internal.vision.zzw
- javascript - 使用 swiperjs api 单击后如何等待 1 秒以移动另一个滑块?
- r - 对所有列应用乘法,但仅适用于具有正值的行