On 3/9/07, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
> Without modifying a skin, is there anyway to change the font for only a
> particular group? Not the sidebar or header or anything else, but the body
> of the wiki page?
>
> WikiStyles in the GroupHeader seem to only define line- or block- based
> markup changes; at least, I can't get them to apply to an entire page by
> default.
>
>
> The only way I've gotten this to work is to use the EnableHTML recipe,
> enable the <div> tag, put an opening <div style="font-family:monospace"> in
> the GroupHeader, and </div> in the GroupFooter.
>

The easiest way is to have local css files for each group in /pub/css.
 For example, Main.css in that folder will apply the font styles
listed there.

You could also use the CSSInWikiPages recipe for this (stylepage.php).
 Then you could have a stylesheet for each group.  In fact, this might
work:

$DefaultStylePage = 'Site.{*$Group}-StyleSheet';
and you could have a stylesheet for each group this way even just with
font information attached.  I have not tested this, but it seems like
it could work.

This is definitely more complicated though and the per-group css files
are probably the way to go unless you really want to be able to edit
it within the browser.

Jon

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to