当我查看我网站的源代码时,我可以看到:
<head>
....
<style type="text/css" id="custom-background-css">
body.custom-background { background-image: url('http://ali-coupons.net/wp-content/uploads/2016/05/ali-background.png'); background-repeat: repeat; background-position: top left; background-attachment: scroll; }
</style>
...
</head>
我没有在 header.php 中。我应该怎么做才能将其从源代码中删除? 我在 Wordpress 上的网站。
最佳答案
您好,在此线程上搜索您的代码片段:https://wordpress.org/support/topic/how-do-i-do-get-this-effect?replies=29
我想如果你去 wp-admin/Appearance/Customize 有一个背景颜色设置,把它关掉,你脑子里的代码就会消失。
关于php - 从源代码中隐藏 head 中的样式代码,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38333933/