无论是<>TromyTromyTwo,还是,目前支持dropCaps
。 由于某些用户系统的布局不可取,与会者一致认为,对这两个主题而言,退款支助不是强制性的。 阅读更多 新闻稿:https://github.com/WordPress/t twenty-second/issues/180
但是,可以找到工作。 由于你必须触及主题核心档案,使用儿童专题可能不是一个坏的想法。 否则,在进行更新时,调整可能过于书面。
工作情况首先在comment <。 a 吉唐用户,载于thread。 相关的中央支助事务从@justintadlock ,即另一个Gite Hub的用户,请, 可在上读取。
因此,您需要采取哪些步骤,使<代码>>> dropCap成为可能。 支助:
- Since you are using the theme file editor, go there and open
theme.json
.
- At about line 109, under
typography
, change the value for dropCap
from false
to true
.
- Save the file.
- Open the theme s
style.css
and add:
.has-drop-cap:not(:focus)::first-letter {
font-family: var( --wp--custom--drop-cap--typography--font-family, inherit );
font-size: var( --wp--custom--drop-cap--typography--font-size, 5.5em );
font-weight: var( --wp--custom--drop-cap--typography--font-weight, 700 );
font-style: var( --wp--custom--drop-cap--typography--font-style, normal );
line-height: var( --wp--custom--drop-cap--typography--line-height, .85 );
margin: var( --wp--custom--drop-cap--spacing--margin, 0.05em 0.1em 0 0 );
padding: var( --wp--custom--drop-cap--spacing--paddig, 0 );
}
- Save the file.
<>光> 如果你想使用一种习俗真话,你可以在打字部分上添加字句,在<条码>上。 可在网上查阅。 你们还可以尝试用自己的价值来直接取代在国际空间站上的所有变量。 但我很抱歉,如果我这样做的话,我就可以记住,因为我只用了一次工作,而且时间已经过了,而且这个页像现在这样。 你们只得检验它。
Finally, don t forget to properly include your Fredericka the Great font into Wordpress.
Hope this works for you.