Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

change article titl font

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hey guys,

I need a specific font type to Article title.

So, i created a webfont ki and uploaded it to /templates/newlifestyle/fonts

After i added the follow code in template.css

@font-face {
font-family: 'please_write_me_a_songmedium';
src: url('please_write_me_a_song-webfont.eot');
src: url('please_write_me_a_song-webfont.eot?#iefix') format('embedded-opentype'),
url('please_write_me_a_song-webfont.woff2') format('woff2'),
url('please_write_me_a_song-webfont.woff') format('woff'),
url('please_write_me_a_song-webfont.ttf') format('truetype'),
url('please_write_me_a_song-webfont.svg#please_write_me_a_songmedium') format('svg');
font-weight: normal;
font-style: normal;

}

#mainWrap h1
{font-family: 'please_write_me_a_songmedium';}

After i done it the font change, but change for something like timesnewroman and not the font that i need.


Cheers
Luis
  • Luis's Avatar
  • Luis
  • 6 Month Developer
  • 94 posts
  • Karma: 0
Last Edit: 9 years 3 months ago by Luis.
The administrator has disabled public write access.
Hi Luis,

First of all add the font to the custom.css file

When the site is updated or re-compiled the css would be lost

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Thanks for the tip Paul, it's allready changed for the custom.css

But i keep getting a diferent font, instead of "please_write_me_a_songmedium" font.

Is this the correct way to add a font in T3 framework?

Is my code ok?
  • Luis's Avatar
  • Luis
  • 6 Month Developer
  • 94 posts
  • Karma: 0
The administrator has disabled public write access.
Is the font a serif font?

I can see the style applying but not sure if that is the font as its supposed to look

Are you also working with the latest template?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
No, it's a non serif font. you can see it here (www.dafont.com/pt/please-write-me-a-song.font)

Yes, i'm using a recently downloaded Quickstart package of this template.

Is there another way to add new fonts?
  • Luis's Avatar
  • Luis
  • 6 Month Developer
  • 94 posts
  • Karma: 0
The administrator has disabled public write access.
Can you update by installing the latest standalone template

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hey Paul,

I updated the template but the new font is not showing.

Cheers
  • Luis's Avatar
  • Luis
  • 6 Month Developer
  • 94 posts
  • Karma: 0
Last Edit: 9 years 3 months ago by Luis.
The administrator has disabled public write access.
Hi Luis,

It looks like your font file is missing or the path is incorrect.

It's looking for it here:
beweb.me/clinicaencontro/templates/newlifestyle/css/please_write_me_a_song-webfont.woff2

Thanks
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
The following user(s) said Thank You: Luis
Hey Anthony,

Thanks for your answer, i solved the issue with that :)

If it's not asking too much, can you please tell me how did you found that?


Cheers!
  • Luis's Avatar
  • Luis
  • 6 Month Developer
  • 94 posts
  • Karma: 0
The administrator has disabled public write access.
It will have shown as 404 the console window I'd have thought

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers