S
S
smoklew2016-02-19 20:54:16
PHP
smoklew, 2016-02-19 20:54:16

How to add fonts to the OpenCart admin?

Is it possible, in addition to the standard fonts for Opencart 1.5, to add your own to write articles?
789e0f4b8be9518cbc9ca689aab21411.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
Zempik, 2016-02-21
@Zempik

Using the "view element code" in the chrome browser (if you use it, personally, yes), we look at which class is responsible for the block where the article is located.
Next, edit the file
Add this piece of code if it is not there or change it if it is:

@font-face {
    font-family: Pompadur;  /* Гарнитура (название) шрифта */
    src: url(fonts/pompadur.ttf); /* Путь к файлу со шрифтом */
   }
  *нужный класс для статьи* {
    font-family: Pompadur, 'Comic Sans MS', cursive;
   }

PS if I explained crookedly, then write in the comments, I will help.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question