Skip to content

Commit 5c2a67f

Browse files
authored
fix: corrected font weight for custom fonts (#1418)
1 parent 09c6f03 commit 5c2a67f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

library/Customizer/FontUploads/FontUploads.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ public function getUploadedFontsCss(): void
120120
font-display: swap;
121121
font-family: "%s";
122122
src: url("%s") format("%s");
123+
font-weight: 100 900;
123124
}',
124125
$font['name'],
125126
$font['url'],

0 commit comments

Comments
 (0)