2 replies [Last post]
jace1319
jace1319's picture
Offline
Regular
Last seen: 4 years 24 weeks ago
Timezone: GMT-4
Joined: 2011-01-10
Posts: 41
Points: 61

Hi

Im wondering if anyone can guide in the right direction. I have a template in joomla 2.5 and im trying to change the default font. Now ive heard of webfonts and cufon plugin. But i was wondering if theres any other way i can do this. Ive done it before with another template and it was a lot more easier to manage.

P-s. I have the font available which is "Bebas" .tff

heres my website www.psdflyers.net

thanks to anyone that helps.

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 18 hours 7 min ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9774
Points: 3856

@font-face

The normal method to set the default would be to add the font to your font cascade, like so:
body {font-family: Bebas,'Ubuntu',sans-serif;}

That won't work for me, because I don't have that font family on my machine. You'll need to look into the @font-face rule. Using @ font... will require a special form of the font file. See Font Squirrel, FONT-FACE DEMO FOR THE BEBAS FONT and download from there.

Do you really want that as the default font? It seems to be very ugly and hard to read.

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

mihirc
mihirc's picture
Offline
Leader
Pune, Maharashtra, India
Last seen: 6 years 17 weeks ago
Pune, Maharashtra, India
Timezone: GMT+5.5
Joined: 2007-05-09
Posts: 728
Points: 204

Hello, Your template.css

Hello,

Your template.css controls your basic layouts / fonts / colors of the website. It should be in the path -
/siteroot/templates/templatename/css/template.css

Regards,
Mihir.

Proprietor - Thoughtfulviewfinder Services
Web Development | Design | Merchandise | Photography
My personal blog: MihirChhatre.com