Non Custom Font In Error Page - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Non Custom Font In Error Page

CM

Chotika Mahatkomol

Template 3 years ago

I use the language school template and the text in 404 page was non-customizable (the same problem as the log in button I previously posted.). I would like font k2d at the text 'component not found' and 'home' button please. http://physiology2.md.chula.ac.th/index.php?Itemid=404

Thanks

0
3 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #83926

Hi Chotika,

in custom.css file add/set K2D font for those classes, example CSS code:

  @import url('fonts.googleapis.com/css2?family=K2D:wght@500;600;700;800&display=swap');
.error-page .error-message h1, 
.error-page .error-message h2, html.error-page a.btn 
{ font-family: 'K2D', sans-serif !important; }
0
CM
Chotika Mahatkomol
Accepted Answer
3 years ago #83971

the code works after I remove 'html' wording. Thanks

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #84208

Indeed. I had to copy without dot.

0