以下是我从一个WordPress网站中提取的内容,无论我如何设置自定义CSS,设置都不会受到影响,结果与http://jsfiddle.net/yckelvin/19m6trhk/
相同我试过
.privacypolicy_privacypolicy table thead th {
font-size: 1.5em;
color: #e35094;
padding-bottom: 3%;
}
或更具体的元素
#post-289 .privacypolicy_privacypolicy th {
font-size: 1.5em;
color: #0091D3;
padding-bottom: 3%;
}
他们都没有受到影响。似乎有一些事情压倒了宣言。如何直接找到正确的元素并应用CSS声明?有没有办法在Chrome中进行调试?
WordPress页面中的主要内容
<main id="main" class="row">
<div class="twelve columns">
<article id="post-289" class="post-289 page type-page status-publish hentry entry wpautop">
<div class="wrap" background-color:="" rgba(255,255,255,0.4); "=" ">
<div class="entry-content ">
<div class="privacypolicy_privacypolicy ">
<table>
<thead>
<tr>
<th colspan="3 ">Privacy Policy use of personal data in direct marketing</th>
</tr>
<tr>
<td colspan="3 "("The Ordinance "), the Group will respect the laws of Hong Kong in accordance with Chapter 486, "the Personal Data (Privacy) Ordinance, " Your Excellency statutory right to privacy and is committed to protecting your personal information. Given that the regulations on direct marketing aspects of the latest amendments have been made, as well as users of the personal data, we hereby provide the Group's implicit policy statement for your reference.
</td>
</tr>
</thead>
<tbody>
<tr>
<th colspan="3 ">1.Overview</th>
</tr>
<tr>
<th></th>
<td>1.1</td>
<td>The main explanation of this Privacy Policy Statement, the Group's how to use your personal data in direct marketing. Described in this article, "we ", "our " means any member of the Group.</td>
</tr>
<tr>
<td></td>
<td>1.2</td>
<td>Such as English and Chinese versions of this Privacy Policy Statement there is any conflict or disagreement, the English version shall prevail.</td>
</tr>
<tbody>
<tr>
<th colspan="3">8.Data retention</th>
</tr>
<tr>
<td></td>
<td colspan="2">To meet the purpose of collecting data, we will retain your personal information is necessary under the circumstances. Personal information will no longer need to be destroyed.</td>
</tr>
</tbody>
</tbody>
</table></div>
</div>
</div>
</article>
<div id="comments ">
</div>
</div>
<div id="sidebar " class="four columns ">
</div>
</main>