V
V
Vladislav Ovechkin2017-01-09 01:59:41
CMS
Vladislav Ovechkin, 2017-01-09 01:59:41

How to load a font in Revolution Slider not Google Fonts?

Tell me how to add your own Revolution Slider font locally . By default, only Google Fonts can be loaded .
For example, the base font "Raleway" is not supported by Cyrillic. According to this classic code, it is loaded on the entire site, except for the Revolution Slider.
@font-face {
font-family: "Raleway";
src: url("../fonts/RalewayBold.eot");
src: url("../fonts/RalewayBold.eot?#iefix")format("embedded-opentype"),
url("../fonts/RalewayBold.woff") format("woff"),
url(" ../fonts/RalewayBold.ttf") format("truetype");
font-style: normal
font-weight: normal

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladislav Ovechkin, 2017-01-09
@ironvlad

I solved the problem in this way.
I connected the font through the built-in CSS editor Revolution Slider using absolute paths.
It is important to note that the font will not appear in the list, it must be entered manually and the visual editor of the slider does not display it. After saving and updating ctrl+f5 you will see that the font on the slider is connected.

W
wheelsman, 2018-01-09
@wheelsman

В стилях пропиши
body .rev_slider .tp-caption {
font-family: "имя шрифта" !important;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question