Požadovaná stránka nie je momentálne k dispozícii vo vašom jazyku. V dolnej časti stránky si môžete vybrať iný jazyk alebo si môžete okamžite preložiť ľubovoľnú webovú stránku do požadovaného jazyka pomocou vstavanej funkcie prekladu v prehliadači Google Chrome.

Choose a font

Google Web Designer lets you select a font from a list of common fonts or from Google Fonts. Using other fonts requires custom code.

Select a common font

Several common fonts are built into Google Web Designer.

  1. Select the Text tool in the toolbar or open the Text panel.
  2. Click the current font name in either the tool options bar or the Text panel. The font menu opens.

  3. Choose a font.

You can either choose the font first and then add text, or select existing text and change it to the font you want to use.

Add a font from Google Fonts

You can use hundreds of open-source fonts available through Google Fonts at no cost.

  1. Select the Text tool in the toolbar or open the Text panel.
  2. Click the font name in either the tool options bar or the Text panel. The font menu opens.
  3. Click More fonts… at the bottom of the font menu. The Google Fonts catalog starts loading. To load more fonts, scroll to the bottom of the list.
  4. Search by entering the font name in the search field Search icon and pressing Enter, or by using the filters to narrow your options.
  5. Select the fonts you want to use. They appear in the Added fonts list on the right.

  6. When you're satisfied with your selection, click OK. The fonts you added are now available in the font menu for this document.

Use other fonts

Custom code required (Custom code required)

You can use custom fonts if you have the font files.

Google Ads and Google AdMob only support Google web fonts.

Add a custom font

  1. Add the font file to the assets subfolder for the project in your computer's file system.
  2. Go to Code view and search for the </style> tag.
  3. Add the following CSS before the </style> tag:
    @font-face {
      font-family: "My Font Name";
      src: url("assets/myfontname.ttf") format("truetype");
    }
  4. To use the font, switch back to Design view and enter the name of the font (as you typed it for the font-family line) in the Font name field while formatting text. You can also edit the CSS font-family property.

When using a custom font in a CSS style rule, list at least one fallback web-safe font.

For example, for a Japanese document, you might use the following list:
font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ","MS PGothic",Verdana,Helvetica,sans-serif;

Was this helpful?

How can we improve it?
Search
Clear search
Close search
Main menu
17756415981440036198
true
Search Help Center
true
true
true
true
true
5050422
false
false