[Mailman-Users] Global Font Change

Jon 1234 jon.1234 at hotmail.co.uk
Sun Apr 29 15:16:42 CEST 2012



> I changed WEB_HEADER_COLOR to a dark blue and I need the font to white now.> How would I do that?> > This question from 2004 (without an answer) is the only related thing I> have found so far.
The following is how I changed the font face and background colour (not text colour, admittedly) site-wide, and may assist you.
Create a mailman.css file but put it outside your mailman directory so that you can refer to it using an absolute URL.
Link to it in the following files (using http://www.domain.co.uk/mailman/edithtml/listname where necessary):
Mailman/htmlformat.py:325:                   'href="http://www.domain.co.uk/mailman.css" type="text/css">')lists/listname/en/listinfo.html:7:<link rel="stylesheet" href="http://www.domain.co.uk/mailman.css" type="text/css">lists/listname/en/options.html:6:<link rel="stylesheet" href="http://www.domain.co.uk/mailman.css" type="text/css">lists/listname/en/subscribe.html:4:<link rel="stylesheet" href="http://www.domain.co.uk/mailman.css" type="text/css"></head>lists/listname/en/archidxhead.html:5:     <link rel="stylesheet" href="http://www.domain.co.uk/mailman.css" type="text/css">lists/listname/en/archtoc.html:6:     <link rel="stylesheet" href="http://www.domain.co.uk/mailman.css" type="text/css">lists/listname/en/archtocnombox.html:5:     <link rel="stylesheet" href="http://www.domain.co.uk/mailman.css" type="text/css">lists/listname/en/article.html:15:   <link rel="stylesheet" href="http://www.domain.co.uk/mailman.css" type="text/css">lists/listname/en/private.html:4:<link rel="stylesheet" href="http://www.domain.co.uk/mailman.css" type="text/css">
You should copy some of the files from templates/en to lists/listname/en before you edit them.
To get the archives HTML to update properly following any changes you need to:bin/mailmanctl stopbin/arch --wipe listnamebin/mailmanctl start
My scheme was black on white so I had to remove a few FONT BGCOLOR tags. I imagine there are even more FONT COLOR tags for you to remove. To find them you couldgrep -RnisI "<font" *|more orgrep -RnisI "#000000" *|more
Best wishes
Jon 		 	   		  


More information about the Mailman-Users mailing list