fbpx
Welcome, Guest
Username: Password: Remember me

TOPIC: Integrate a custom font into JD Consult

Integrate a custom font into JD Consult 1 year 2 months ago #25946

Dear All,

I would like to use a custom font within jd consult. I stil want to have google fonts available for regular text, but want to use symbols from an own font via css selection.
I already have this code in my less files:
@font-face {
font-display:swap;
font-family: 'KIJU IconTypo';
src: url('../fonts/icontypo.woff') format('woff');
font-weight: normal;
font-style: normal;
}
How can I do that?
Best
Thomas
The administrator has disabled public write access.

Integrate a custom font into JD Consult 1 year 2 months ago #25954

  • chandandeep
  • chandandeep's Avatar
  • Offline
  • Administrator
  • Posts: 4614
  • Thank you received: 652
  • Karma: 116
Hello,

Please share the site URL and tell us where you implement the font. So I can confirm that your code is working or not.

Don't write the code in .less files cause these are template's core file. Your code will remove after the template. So best way to write CSS. Create a new file custom.css in css folder and write the code there.

Thanks,
Chandan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.

To know more about products check out the their documentation.
The administrator has disabled public write access.

Integrate a custom font into JD Consult 1 year 2 months ago #25960

Hej Chandan,

Thanks for the hints concercing the .less files.

This is the life site: www.kiju-reisen.de/. Basically the font consist of 7 icons, which I want to use flexibly on any position.
Best
Thomas
The administrator has disabled public write access.

Integrate a custom font into JD Consult 1 year 2 months ago #25964

  • chandandeep
  • chandandeep's Avatar
  • Offline
  • Administrator
  • Posts: 4614
  • Thank you received: 652
  • Karma: 116
Hello,

Thanks for sharing the site URL.

I checked your custom.css file and not found custom font code in .css file.

Thanks,
Chandan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.

To know more about products check out the their documentation.
The administrator has disabled public write access.
Moderators: chandandeep
Time to create page: 0.369 seconds
Cron Job Starts