Phoca font and custom html

Phoca Font - rendering external fonts in Joomla! CMS
gvannauw
Phoca Member
Phoca Member
Posts: 19
Joined: 21 Apr 2010, 19:38

Phoca font and custom html

Post by gvannauw »

Hello
I am developing a website for a friend of mine and on the template I use a custom html in a certain place.
Is it possible to also apply Phoca Font to this custom html and if so, how?
The custom html has id of 95
I inserted it but nothing happens. I'd like to use the "Fredericka the great" font from the google font directory (which I installed as per instructions..
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca font and custom html

Post by Jan »

Hi, yes, in Phoca Font - options, you can set on which ID or class the font will apply.

Jan
If you find Phoca extensions useful, please support the project
gvannauw
Phoca Member
Phoca Member
Posts: 19
Joined: 21 Apr 2010, 19:38

Re: Phoca font and custom html

Post by gvannauw »

I thought so, but this doesn't seem to work. My custom html modules have id's of 95 and 102. I inserted these into the options in phoca font, but it doesn't do a thing. The font is totally ignored??

I guess i am doing something wrong here ??
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca font and custom html

Post by Jan »

Hi, not sute what you mean with: "inserted these into the options" - you should not add the IDs of the modules but IDs or classes of html output in your module.

e.g. if you module renders a header with: <h1>Header</h1> and you want apply the font to this header, then just set h1 to the Options.

Jan
If you find Phoca extensions useful, please support the project
gvannauw
Phoca Member
Phoca Member
Posts: 19
Joined: 21 Apr 2010, 19:38

Re: Phoca font and custom html

Post by gvannauw »

ok thanks Jan
Post Reply