如何在Wordpress中内联编辑HTML,CSS代码

时间:2018-02-09 14:28:14

标签: html css wordpress inline edit

有人可以告诉我如何更改(甚至找到一个文件),这个代码在wordpress中?

printscreen from Inspect Element (Q) about my site

我知道要改变什么,但我不知道如何改变。 我已经查过了:

  • 我主题中的所有* .css文件?

  • 所有* .php文件。

  • 这不是WP中的Visual Editor。

怎么做?

1 个答案:

答案 0 :(得分:0)

如果它只是一个需要它的属性,则更改为可视编辑器并使用!important 规则覆盖内联样式,如下所示:

.content {
  min-height: 150px !important;
}

使用时要小心!important - it should be used sparingly