Problems setting up only parts of the site

Phoca Font - rendering external fonts in Joomla! CMS
luiznery
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 29 Mar 2013, 19:00

Problems setting up only parts of the site

Post by luiznery »

Hello, I´m having a hard time trying to setup the font on the topmenu only. I´ve read all the other topics, but they didn´t help me.

I´m using Joomla 2.5.9 and Phoca Fonts 2.0.2 with the jaxstorm template.

On the php file, the top menu is as following

<!-- Topmenu -->
<div id="topmenu">
<jdoc:include type="modules" name="position-1" />
</div>

When I use the "body" as tag, id or class it works like a charm for the whole website. But when I try changing it to "topmenu" it simply doesn´t work.

I´ve also tried including inside the php the following

<!-- Topmenu -->
<div id="topmenu">
<p class='test'>
<jdoc:include type="modules" name="position-1" />
</p>
</div>

Also including on the .css file

p.test {font.color:white;}

And then trying to use "test" on Tag, ID or class, but it still didn´t work.

Can anybody please help me?

Thanks
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47891
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problems setting up only parts of the site

Post by Jan »

Hi, try to see your template css, it is possible, that your template defines the font family after it is defined by Phoca font (template css are loaded as the latest in Joomla! so in such case you need to find such definition in your template and remove it :idea: )

Jan
If you find Phoca extensions useful, please support the project
massic
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 03 Jun 2013, 18:08

Re: Problems setting up only parts of the site

Post by massic »

I wanted to set up a new thread, but this could be my problem also.

I instaled phocafont a have basic joomla template on the site. Fonts are used everywhere but menus and article title. ( prostě se ten font neaplikuje na menu a nadpis clanku. To je divny, kdyz mam tu basic sablonu ne ? Diky moc )
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47891
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problems setting up only parts of the site

Post by Jan »

Hi, this should mean that your template override the settings of Phoca Font.

Mostly template CSS is loaded after Phoca Font settings. So if Phoca Font set a font for some part of your site and then your template CSS overwrite this with some specific font, then the Phoca Font settings will be overwritten. In such case the definition of font of the template CSS should be removed.

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