[英]How to edit HTML, CSS code inline in Wordpress
Could somebody tell me how to change (or even find a file with), this code in wordpress? 有人可以告诉我如何在wordpress中更改(甚至找到文件)吗?
I know what to change but I have no idea how. 我知道该更改什么,但我不知道如何更改。 I've already checked:
我已经检查过:
All of the *.css files in my themes? 我主题中的所有* .css文件?
All of the *.php files. 所有* .php文件。
And this is not in a Visual Editor in WP. 而且这不在WP的可视编辑器中。
How to do it? 怎么做?
If it's just a one class that needs it's properties changed go to the visual editor and override the inline style with !important rule, like this: 如果只是一个需要更改其属性的类,请转到可视化编辑器,并使用!important规则覆盖内联样式,如下所示:
.content {
min-height: 150px !important;
}
Also be careful when using !important - it should be used sparingly . 使用!important时也要小心- 应该谨慎使用 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.