[pmwiki-users] Controlling font family and font size

Steven Benmosh wordz2u at gmail.com
Sun Mar 23 22:07:53 CDT 2008


Thanks, Petko! That did the trick! Site looks perfect now (at least in my
eyes...)

Z.




On Sun, Mar 23, 2008 at 6:36 PM, Petko Yotov <5ko at 5ko.fr> wrote:

> On Monday 24 March 2008, Steven Benmosh wrote:
> > The text above and in the table is rather skinny for my old eyes, and I
> > would prefer to change both the font family and the font size. I looked
> at
> > the documentation for font control, but it appears that it is not that
> easy
> > to set the font family and the font size, especially if the changes are
> > only for one page. The rest of the site is okay, even though the text
> style
> > and font are the same, because I use a different layout with bolds,
> links
> > and images. On the home page, I would prefer Times 14, rather than what
> I
> > have, which looks like Arial 12 or Courier 12 (san serif).
>
> Hi. It is actually quite easy:
>
>   >>font-family=serif font-size=14pt<<
>   Here is my bigger text in Times.
>   >><<
>
> If you need to use the same setting at more than one place, it may be
> better
> to add a file "pub/css/local.css" containing something like:
>
>   div.bigtimes { font-family: "Times New Roman", serif; font-size:14pt; }
>
> and then, in the page, use
>
>   >>bigtimes<<
>   Here is my bigger text in Times.
>   >><<
>
> Thanks,
> Petko
>
>


-- 
Check out my web site - www.words2u.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20080323/eb550748/attachment.html 


More information about the pmwiki-users mailing list