[pmwiki-users] Commentbox - changing css or font on box

K.A.Bouton k.a.bouton at reading.ac.uk
Mon Jul 4 09:40:37 CDT 2005


That was what I was thinking. I've been trying to figure out where in the
commentbox code to add the beginning and end div but can't figure it out.

I did manage to add a custom wikistyle to the time date author line then get
the first line of the comment to come out with a smaller font - but of
course as soon as that has a <p> in it the block end and my wikistyle is no
good any longer.


   SDV($MPDateTimeFmt,"!!!!%block text-align=left font-size=12pt color=black
bgcolor=#669966%\$Date at \$Time by '''\$Author'''\n\n%block text-align=left
font-size=10pt bgcolor=#ccffcc border='1px solid black' padding=5px%");
 

Any suggestions where to look in the code?

> -----Original Message-----
> From: pmwiki-users-bounces at pmichaud.com 
> [mailto:pmwiki-users-bounces at pmichaud.com] On Behalf Of Hans
> Sent: Monday, July 04, 2005 2:56 PM
> To: Pmwiki-users at pmichaud.com
> Subject: Re: [pmwiki-users] Commentbox - changing css or font on box
> 
> 
> Monday, July 4, 2005, 12:22:57 PM, K.A.Bouton wrote:
> > In commentbox how do I change the css or format so the 
> comments are in 
> > a smaller font than the page above them?
> 
> There are no css style hooks in the script. You can only 
> change the header (Time, Date, Author) and what to put after 
> the comment (like a horizontal rule for instance), by 
> redefining $MPDateFmt, $MPTimeFmt, $MPItemFmt. So comments 
> have the same style as other page text. You can use wiki 
> markup in the comments, but you can't change the default. 
> Once we get  a (:div:) markup this will be possible with this script.
> 
> 
> Best, 
> ~Hans                           
> 
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com 
> http://pmichaud.com/mailman/listinfo/pmwiki-users
> 





More information about the pmwiki-users mailing list