Sign in to follow this  
Followers 0
saskozp

Как подключить свой шрифт на сайт

2 posts in this topic

Подключаю шрифт http://tapenik.ru/shrifti/Church AI.ttf

в css прописываю

@font-face {
font-family: Church-AI;
src: local("Church-AI"),
url(/wp-content/themes/di-blog/assets/fonts/Church-AI.ttf);
 }

.mainlogoinr h3 {font-size: 70px;font-family: Church-AI;}
.mainlogoinr p {font-size: 40px;font-family: Church-AI;}

естественно шрифт скачал в указанную папку, и переименовал в Church-AI.ttf

не срабатывает, что не так делаю?

Share this post


Link to post
Share on other sites

Пример подключения

@font-face {
    font-family: 'Genericons';
    src: url('fonts/genericons/genericons-regular-webfont.eot');

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.