fbpx

Biggest Sale of the Year - Save 60% Now!!

Days
Hrs
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Custom font

Custom font 1 year 3 months ago #17195

  • Crash
  • Crash's Avatar
  • Offline
  • Platinum Member
  • Posts: 506
  • Thank you received: 7
  • Karma: 0
I'm sure I'm doing just as you say, but no joy.

This code is in /templates/jd_shop/css/template.css
@font-face{
font-family: 'Termina-W05-Regular';
src: url('luxminime.com/templates/jd_shop/fonts/5a...af-c802ea760380.woff');
}

And this code is in the Helix3 Custom Code:
body {
font-family:' Termina-W05-Regular' !important;
}

footer {
font-family:' Termina-W05-Regular' !important;
}
h1,h2,h3,h4,h5,h6 {
font-family:' Termina-W05-Regular' !important;
}

Am I missing something really simple?
The administrator has disabled public write access.

Custom font 1 year 3 months ago #17196

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 4184
  • Thank you received: 613
  • Karma: 111
I don't see the font-face code in the source anymore.

Remove the blank spaces before the font name in css please.
@font-face{
font-family: 'Termina-W05-Regular';
src: url('https://luxminime.com/templates/jd_shop/fonts/5a55fa4b-93ff-426d-85af-c802ea760380.woff');
}
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.

Custom font 1 year 3 months ago #17197

  • Crash
  • Crash's Avatar
  • Offline
  • Platinum Member
  • Posts: 506
  • Thank you received: 7
  • Karma: 0
Hi,
Exactly this, but it's the same?
@font-face{
font-family: 'Termina-W05-Regular';
src: url('luxminime.com/templates/jd_shop/fonts/5a...af-c802ea760380.woff');
}
The administrator has disabled public write access.

Custom font 1 year 3 months ago #17198

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 4184
  • Thank you received: 613
  • Karma: 111
It's not in the source anymore. I don't see it.

@font-face{
font-family: 'Termina-W05-Regular';
src: url('//luxminime.com/templates/jd_shop/fonts/5a55fa4b-93ff-426d-85af-c802ea760380.woff');
}
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.

Custom font 1 year 3 months ago #17199

  • Crash
  • Crash's Avatar
  • Offline
  • Platinum Member
  • Posts: 506
  • Thank you received: 7
  • Karma: 0
My FTP seems to strip it?

I have just uploaded it via Cpanel and it seems to be there?
Attachments:
The administrator has disabled public write access.

Custom font 1 year 3 months ago #17200

  • Crash
  • Crash's Avatar
  • Offline
  • Platinum Member
  • Posts: 506
  • Thank you received: 7
  • Karma: 0
Code has disappeared again?
The administrator has disabled public write access.

Custom font 1 year 3 months ago #17206

  • Crash
  • Crash's Avatar
  • Offline
  • Platinum Member
  • Posts: 506
  • Thank you received: 7
  • Karma: 0
Hi Chetan,

I think I have sorted it.
The code kept being striped from the file /templates/jd_shop/css/template.css. This happen each time I saved the template and cleared the cache.
I did some research and found this: www.joomdev.com/documentation/shop/#addcssjs
I followed the process and added the follow to the new file:
@font-face{
font-family: 'Termina W05 Regular';
src: url('../fonts/5a55fa4b-93ff-426d-85af-c802ea760380.woff');
}
It seems to have worked and saving the template doesn't strip the code.

Thanks for your help with this.

Regards,
Colin.
The administrator has disabled public write access.

Custom font 1 year 3 months ago #17207

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 4184
  • Thank you received: 613
  • Karma: 111
Glad you sorted it out Colin. thanks for the update.

-- Chetan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: chandandeep
Time to create page: 0.511 seconds