Install new pro font

Hi Guys,
everytime thanks for your themes and support.

I bought a new font for my new website (Lexie Readable).

How I can install it?
After installed, how I can spread it every where using Custumizer and/or CSS code?

Thank you very much.

Dario

Hello Dario,

Try this solution I’ve suggested on other similar topic:

Regards,
Kharis

Hi Kharis,
thank you for your link.
I tried many times with no effects.
I tried also this solution link Font Type, Size and Hierarchy
and this https://premium.wpmudev.org/blog/custom-fonts-css/
Probably I do a small or big mistake that makes all changes useless …

My new font is LexieReaaible
I have 4 file .ttf :
LexieReadable-Regular
LexieReadable-Bold
LexieReadable-BoldItalic
LexieReadable-Italic

I uploaded all in the new folder font-face
then I added your modified code in style.css

@font-face {
  font-family: "LexieReadable";
  src: url('font-face/LexieReadable.eot');
  src: url('font-face/LexieReadable.eot?#iefix') format('embedded-opentype'),
       url('font-face/LexieReadable.woff') format('woff'),
       url('font-face/LexieReadable.ttf') format('truetype');
}
body,
#mainnav ul ul a{
  font-family: "LexieReadable", sans-serif;
}

Save and update, all cache purged,
with no effects…

I also tried to add the second code you suggested:

body,
#mainnav ul ul a{
  font-family: "LexieReadable", sans-serif !important;
}

h1, h2, h3, h4, h5, h6, #mainnav ul li a, .portfolio-info, .roll-testimonials .name, .roll-team .team-content .name, .roll-team .team-item .team-pop .name, .roll-tabs .menu-tab li a, .roll-testimonials .name, .roll-project .project-filter li a, .roll-button, .roll-counter .name-count, .roll-counter .numb-count button, input[type="button"], input[type="reset"], input[type="submit"] { 
  font-family: "LexieReadable", sans-serif !important;
}

Still no effects…

Then in Appearance > Customize > Fonts >
I changed standard font names there with:
BODY FONTS
Font name/style/sets
LexieReadable:400,600
Font family
‘LexieReadable’, sans-serif

HEADINGS FONTS
Font name/style/sets
LexieReadable:400,400i,500,500i
Font family
‘LexieReadable’, sans-serif

I have the effect that body font changed… but it isn’t LexieReadable…

I’m puzzled
Can you help me?
I’d like to use LexieReadable everywhere for any kind of text.

This is the URL: https://papaveriestelle.com/

Thank you very much in advance.

Dario

Hi Kharis,
any further help?
Thank you very much for your help.
:slight_smile:

Regards,
Dario