我需要帮助使用 CSS 删除 WordPress 中 post 内容的边框
I need help removing a border on post content in WordPress using CSS
我确定有一种非常简单的方法可以解决这个问题,但我还没有弄清楚:
我需要的:我需要删除我的 /blog page 上所有博客 post 周围的边框。这些边框在 link - http://imgur.com/F2vR6tC.
图片上用红色箭头表示
到目前为止我做了什么:我试过边框:none;边框:0px;但它似乎并不适用于所有 posts。
我可以单独删除 one post 的边框(通过在检查元素工具中复制 CSS 路径)但这不是很实用删除所有 post 上的边框。每当我使用 .post-content 作为 class 选择器来删除所有 post 上的边框时,它什么都不做。
有问题的URL:http://bavarianspaetzle.com/blog/
如有任何帮助,我们将不胜感激。同样,我确信这很简单,但我还没有找到解决方案(我已经尝试了很多我在 Whosebug 上发现的东西都没有效果),如果有人能提供一些指导,我将不胜感激。
谢谢!!
很简单,有大量教程可以帮助您涵盖 CSS 概念。
.hentry .post-content, .single .hentry, .page .hentry,
.entry-thumb img {border:0px;}
将其放在 style.css
文件的最底部,或者如果没有删除边框,则在末尾添加 !important
。
.hentry .post-content, .single .hentry, .page .hentry,
.entry-thumb img{border:0px !important;}
改变style.css ..
行号 621 :
.entry-thumb img{
border:none
}
和
行号 650:
.hentry .post-content, .single .hentry, .page .hentry{
border:none
}
.hentry .post-content, .single .hentry, .page .hentry {
border: 4px double transparent !important;
}
.entry-thumb img {
border: 4px double transparent !important;
}
在style.css在线号码650或621
从第 650 行和第 621 行中删除此内容
border: 4px double #ebebeb;`
我确定有一种非常简单的方法可以解决这个问题,但我还没有弄清楚:
我需要的:我需要删除我的 /blog page 上所有博客 post 周围的边框。这些边框在 link - http://imgur.com/F2vR6tC.
图片上用红色箭头表示到目前为止我做了什么:我试过边框:none;边框:0px;但它似乎并不适用于所有 posts。
我可以单独删除 one post 的边框(通过在检查元素工具中复制 CSS 路径)但这不是很实用删除所有 post 上的边框。每当我使用 .post-content 作为 class 选择器来删除所有 post 上的边框时,它什么都不做。
有问题的URL:http://bavarianspaetzle.com/blog/
如有任何帮助,我们将不胜感激。同样,我确信这很简单,但我还没有找到解决方案(我已经尝试了很多我在 Whosebug 上发现的东西都没有效果),如果有人能提供一些指导,我将不胜感激。
谢谢!!
很简单,有大量教程可以帮助您涵盖 CSS 概念。
.hentry .post-content, .single .hentry, .page .hentry,
.entry-thumb img {border:0px;}
将其放在 style.css
文件的最底部,或者如果没有删除边框,则在末尾添加 !important
。
.hentry .post-content, .single .hentry, .page .hentry,
.entry-thumb img{border:0px !important;}
改变style.css ..
行号 621 :
.entry-thumb img{
border:none
}
和 行号 650:
.hentry .post-content, .single .hentry, .page .hentry{
border:none
}
.hentry .post-content, .single .hentry, .page .hentry {
border: 4px double transparent !important;
}
.entry-thumb img {
border: 4px double transparent !important;
}
在style.css在线号码650或621
从第 650 行和第 621 行中删除此内容
border: 4px double #ebebeb;`