custom font in phoca font

Phoca plugins - support for all Phoca plugins except Phoca Gallery plugins
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: custom font in phoca font

Post by Jan »

Great to hear it.

Jan
If you find Phoca extensions useful, please support the project
Jecrvali
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 17 Jul 2010, 12:47

Re: custom font in phoca font

Post by Jecrvali »

I have another problem now. I can see the fonts in IE, but in FF and the other browsers it is not working properly.
If I look in the source, I see this code:

Code: Select all

<!--[if IE]>
<style type="text/css">
@font-face {
       font-family: "Domestic Manners";
       font-style: normal;
       font-weight: normal;
       font-stretch: normal;
       font-stretch: normal;
       src: url("/components/com_phocafont/fonts/Domestic_Manners.eot") ;
   }
h6 { font-family: "Domestic Manners", serif, arial, helvetica;
       font-size: 20;
}
</style><![endif]-->
<!--[if !IE]>-->
I don't know where I should change this. I don't understand either why it is there in the first place.
Could help me with this as well?

Thank you, Jeannette
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: custom font in phoca font

Post by Jan »

Hi, sorry I don't understand, there is a code for IE browsers (with eot fonts) and for all other browsers (e.g. with ttf or otf fonts)

Jan
If you find Phoca extensions useful, please support the project
magnes
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 10 Dec 2012, 14:38

Re: custom font in phoca font

Post by magnes »

I also have used Artisteer. On the end I had to get rid off everything that was in line after font-family in my template.css file, and everything works fine now. Excellent extension. Thanks
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: custom font in phoca font

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply