admin管理员组文章数量:1122832
I have a background-image that I apply on the body-tag inside the style.css like this:
body:not(.wp-admin) {
background: url("…") no-repeat fixed;
background-size: cover;
}
But it is also shown in the editor where I dont want it. That is what the not-selector is for. I inspected the resulting css in the editor and the rule comes like this:
.editor-styles-wrapper:not(.wp-admin) { … }
How got my styling of the body-tag into the editor-styles wrapper? What is touching my css?
本文标签: themescss on body tag in editor
版权声明:本文标题:themes - css on body tag in editor 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736299177a1930392.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论