How to install the font on the website

How to install the font on the website

Creating the website on any given platform (for example, on Ucoz), many users are interested as it is possible to install on it the font, standard fonts can bother. Try to change the code of a template. This way is simple and effective, and you can carry out it, having edited configuration files by means of any text editor. Instruction 1. If you need to change the name of a font which you will use in a template of your website, use any available text editor. For example, open a page of editing a template then copy everything that can belong to font mapping. 2. For this purpose click the Ctrl and F keys at the same time (search function), enter the word font in the appeared text box. Copy all values which you found with the font tag in the selected text editor. It becomes in order that you had at any time an opportunity to return all changes made to a template of your website. 3. Let's say there is such line: "Last summer days were warmer". The font tag has three parameters: color (color of a font), face (its type), size (font size). To set a certain font to your line, supplement it with some data: Last summer days were warmer 4. It is worth paying your attention to the following. The font at which name there are more than one word shall be selected with single quotes. That is why in this example of the Times New Roman it is selected with quotes. If the name of a font which you wish to use on the website consists of one word (for example, Tahoma or Cambria), the syntax of a template on Ucoz does not provide such quotes. 5. Having selected the specific text by means of the font tag, it is necessary to copy the changed text then to insert it in the editor of a template the website. Further save perfect changes then look how the text in article edited by you is displayed. If at the beginning and the end of the text tags of font appeared, so you incorrectly put them. Perhaps, you put excess spaces. Get rid of them and double-check, without having forgotten to save changes.

Author: «MirrorInfo» Dream Team


Print