Add custom static fonts

If you need more than the over 800 Google fonts that come with Elementor, you can add custom fonts to your website. 

Note

You can also variable fonts in Elementor. For details about adding variable fonts, see Use variable fonts.

Table de matières

Add custom fonts

Adding custom fonts to your website is done through the WordPress dashboard.

Tip

You must first copy or download the font files to your PC.

To add custom fonts

  1. Go to WP Admin.
  1. Navigate to Elementor>Custom Fonts.
  1. Click Add New.
  1. Name your font.
  1. Click Add Static Font.
  1. Choose the font type you want to install. See below the font types supported by Elementor. In this example, we’ll use a ttf file. 
Add Custom Static Fonts
  1. Click Upload.
  1. Click the Upload files tab.
  1. Click Select files.
  2. Navigate to your font files and add to your Media Library.
  1. Click Select file
  1. Click Add Static Font.
  1. Use the dropdown menus to select a Weight and or Style for the font.

Note

You must add every font weight class and type you want to use as a separate file. For instance, if you want to use myfont as a regular font with a weight of 400 and as a regular font with a weight of 900 and as an italicized font, you will have to add them separately.

  1. (Optional) If you want to add another version of the font with a different Weight and/or Style, click Add Static Font.
  1. Repeat until you’ve added all the fonts you need.
  1. Click Publish.

Use your custom fonts

After installing custom fonts, you can use them in the Elementor Editor.

To use custom fonts:

  1. Go to the Style tab of an element that contains text.
  1. Click the pencil icon by Typography. For details about changing typography,
  1. In the text box, enter the name of your custom font.
  2. Select that font.
  3. (Optional) If you added more than one weight/style of the font, use the menu to select one of them. 

Note

Uploaded fonts are stored in the wp-content/uploads/ folder on your server.

Font types supported by Elementor:

  • The Web Open Font Format (WOFF) – WOFF is the most recommended format to use, since it is supported by all modern browsers
  • The Web Open Font Format (WOFF 2.0) – TrueType/OpenType font that provides better compression than WOFF 1.0
  • TrueType Fonts (TTF) – This font was developed in the late 1980s, by Apple and Microsoft
  • SVG Fonts/Shapes – SVG fonts allow SVG to be used as glyphs when displaying text. Make sure to use this format to support old versions of iPhone
  • Embedded OpenType Fonts (EOT) – This font file works on IE, but not on other browsers. Make sure to use this format to support earlier versions of IE

Note

Different browsers support different font types so it’s important to test your site on a variety of browsers types.

0개의 댓글

댓글 제출

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다