How to change a font on the website

How to change a font on the website

If you create the website on the Ucoz platform or other platform and you needed change of a body type on the website, then it is possible to use method of change of the code of a template. It is the easiest and effective way. It is carried out by means of editing configuration files by means of any text editor. It is required to you • Website template, text editor. Instruction 1. To change the name of a font which you will use in a template of your website it is possible to use any text editor. For example, open the page of editing a template and copy all information which will concern font mapping. How to make it? Click the keyboard shortcut Ctrl + F (search) – enter font. The found values with the font tag need to be copied in the text editor. It becomes at any time to return all changes which you will make to a website template. 2. For example, you have a line of such contents: "The victory over fascist Germany is dated the ninth of May". Is available for the font tag the following three parameters: - color – color of a font; - face - font type; - size - font size. To set to your line a certain font, it is necessary to add it as follows: the Victory over fascist Germany is dated the ninth of May 3. It should be noted that the font which name consists of several words should be selected with single quotes. Therefore, in this example the Times New Roman value is selected with quotes. With names of fonts which contain only one word such quotes are not provided by syntax of a template on the Ucoz platform in cases. 4. After selection of the specific text the font tag it is necessary to copy the changed text and to insert in the editor of a template of the website. Save changes. Look at display of the text in the edited article. If in it the text with tags of font appeared in the beginning and at the end, then tags were put incorrectly. Most likely, they contain spaces. Get rid of excess spaces and save changes.

Author: «MirrorInfo» Dream Team


Print