在我网站上的this post(在“第1层/第2层/第3层”部分下),我遇到了各个项目符号点之间的间距问题。几年前,当我第一次发布它时,每个项目符号之间的间距与网站上的其他行相同。但是,在对Wordpress或Divi进行更新之一之后,空格迅速膨胀。
我在此站点上尝试了几种解决方案,包括在 ul 部分中添加了样式元素,但这只是调整了每个项目符号中各行之间的间距,而不是项目符号点之间的间距。自己。
有人知道如何减少此空间以使其与网站上的其他所有内容对齐吗?
这是三列之一中的代码:
<ul>
<li><strong>Status</strong>: Most often not-for-profit</li>
<li><strong>Ownership</strong>: Typically owned by parents and operated as a foundation school</li>
<li><strong>Accreditation</strong>: National (ONESQA) and multiple international (CIS/NEASC/WASC/CfBT)</li>
<li><strong>Fees</strong>: High, ranging between THB 400,000 to 925,000 depending on the level
<ul>
<li>Additional fees are usually required for enrollment as well</li>
</ul>
</li>
<li><strong>Staffing</strong>: Typically employ Western teaching staff, but are willing to hire licensed teachers of any nationality</li>
<li><strong>Student Body</strong>: Set cap for Thais (20 – 30%)</li>
</ul>
<br>
<hr>
<br>
<strong>Salary & Benefits</strong>
<ul>
<li>Monthly Salary (Gross): THB 135,000 - 275,000</li>
<li>THB 28,000 - 60,000 housing allowance or provided housing</li>
<li>Annual airfare (following initial 2-year contract)</li>
<li>Generous responsibility allowances</li>
<li>Annual bonus equivalent to one or one and a half month's salary</li>
<li>Full health and dental insurance</li>
<li>Pension fund</li>
<li>Relocation/settling-in allowance</li>
<li>Personal professional development fund</li>
</ul>
<br>
<hr>
<br>
<strong>Typical Hire</strong>
<ul>
<li>4-10+ years of experience in international setting</li>
<li>Bachelor's, master's or graduate diploma in education</li>
<li>Frequently has teaching license in home country</li>
<li>Exemplary performance in past positions</li>
</ul>
答案 0 :(得分:0)
.et_pb_text li {
margin-top: 5px;
}
.et_pb_text li ul {
margin-top: 5px;
}
将此CSS添加到Dashbord > Appearance > Customize > Additional CSS
并将 5px 值更改为您的首选值。