However, I would like to modify how the web pages look (both postorius and hyperkitty). I noticed that the web interface on this server (lists.mailman3.org) looks much nicer than the one showing on my server. For one, on my installed instance, the left and right margins are not set, so content is flush with the edge of the screen.
Most likely there's a problem accessing the CSS files for Postorius and/or HyperKitty.
Oh - if my default installation could look like the lists.mailman3.org then yes, I would be happy to have that and don't need to customize.
The easiest way in my experience is to find which of the directories on the path to the CSS mailman-web needs doesn't have at least search (o=x) set for both the 'mailman' user and the webserver user (typically 'www-data' on Debian family OSes), and fix that. Look in the error logs for both mailman-web and the webserver for "couldn't access something.css".
I didn't have any luck finding errors or any files with the wrong permissions.
But... your suggestion led me to /etc/mailman3/mailman-web.py and this setting:
COMPRESS_OFFLINE = True
Which led me to run:
mailman-web compress
which resolved a number of CSS problems. Thank you!
However, my archive page still doesn't look quite like the one on lists.mailman3.org. Specifically, I am not getting the nav bar with a blue background. The style setting the navbar background is present in the following file on my server:
/usr/share/python3-django-hyperkitty/static/hyperkitty/libs/hyperkitty.css
In the stanza:
nav#navbar-main { background-color: #086dd7; }
And, I can find that stanza in the output of the css file for lists.mailman3.org:
https://lists.mailman3.org/static/CACHE/css/output.ea180573a244.css
But I don't have it in the corresponding output of that file on my server.
Any suggestions for debugging that missing stanza? I also tried re-running maiman-web collectstatic.
And, maybe a more critical difference, is that on the lists.mailman3.org server, the output css file starts with:
/*!
- Bootstrap v5.1.3 (https://getbootstrap.com/)
Whereas on my server it starts with:
/*!
- Bootstrap v4.3.1 (https://getbootstrap.com/)
So maybe my remaining problems are due to a different version of Bootstrap being shipped in Debian Trixie?
Lastly, maybe just unrelated noise, but when I run mailman-web compress I get this error repeated a few times (with different templates):
Invalid template usersessions/usersession_list.html: 'humanize' is not a registered tag library.
Thanks again for your help getting my web interface looking better.
jamie