Skip to content

Commit 4f0f646

Browse files
committed
Updating custom fonts info
1 parent 89c5992 commit 4f0f646

File tree

13 files changed

+23
-19
lines changed

13 files changed

+23
-19
lines changed
Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
block faq/answer/font
22

3-
+tip( 'Use WordPress fonts library', 'h4' )
4-
p When using a block theme, you can upload your custom fonts using WordPress native <a href="#site-editor-styles-typography">fonts library</a>.
5-
p In such case, <strong>step #1 in the procedure below is obsolete</strong>.
6-
73
p By default, the theme supports any <a href="https://fonts.google.com/">Google Fonts</a> font out of the box. So, if you want to use a font family from Google Fonts, simply set it up in font family option fields in <strong>Appearance → Customize → Theme Options → Typography</strong>.
84

95
p But if you want to use a <strong>custom</strong> font (a purchased premium font, or font not available at Google Fonts) follow this procedure:
106

117
ol.is-steps
12-
li Use a plugin to upload your custom font to your website, such as <a href="https://wordpress.org/plugins/custom-fonts/"><strong>Custom Fonts</strong> plugin</a>. (Or upload it by other means, such as via a child theme or <a href="#child-theme-plugin">child theme plugin</a>.)
13-
li Disable <strong>Appearance → Customize → Theme Options → Typography → "Enable theme Google Fonts loading"</strong> option.
14-
li Set font family fields in <strong>Appearance → Customize → Theme Options → Typography</strong> to use your custom font family. (These fields take a value valid for <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/font-family">CSS <code>font-family</code> property</a>.)
8+
li
9+
p Use a plugin to upload your custom font to your website, such as <a href="https://wordpress.org/plugins/custom-fonts/"><strong>Custom Fonts</strong> plugin</a>. (Or upload it by other means, such as via a child theme or <a href="#child-theme-plugin">child theme plugin</a>.)
10+
11+
if true === config.compatibility.fse
12+
+tip( 'Use WordPress fonts library', 'h4' )
13+
p When using a block theme, you can upload your custom fonts using WordPress native <a href="#site-editor-styles-typography">fonts library</a>.
14+
15+
li
16+
p Disable <strong>Appearance → Customize → Theme Options → Typography → "Enable theme Google Fonts loading"</strong> option.
17+
li
18+
p Set font family fields in <strong>Appearance → Customize → Theme Options → Typography</strong> to use your custom font family. (These fields take a value valid for <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/font-family">CSS <code>font-family</code> property</a>.)

angelica/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

bjork/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

cindy/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

deborah/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

eimear/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

francesca/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

gwyneth/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

hilda/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

ileana/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

michelle/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

reykjavik/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

zooey/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)