Topic on Project:Support desk

Header / Footer Customised

5
193.63.131.137 (talkcontribs)

Hello,

I try to customise my print layout to have a logo on the top right, the date of last modification on the bottom left and maybe a revision number (if possible). I'm trying to have all this on every page that are printed. I have been struggling for a while with print.css but I can't manage to get a header on all printed pages..

Can anyone shed some light please?


I'm using Mediawiki 1.23.2. Skin: Vector

pivic

Florianschmidtwelzow (talkcontribs)
109.144.213.252 (talkcontribs)

Hello,

Thanks for your reply.

I have been changing the print.css that overrides the stylesheet of mediawiki. Doing so allows me to show/hide different element of what is on the screen and change the layout/font etc.

What I have been trying to achieve for a while is to create customised header/footer. The information is currently not on the screen but I want it to be printed on every page. Like what Chrome automatically does by adding date, url, page number... etc...

I want to deactivate the header/footer of chrome and have my own personal information instead, repeated on all pages. Page number, Logo, last time edited and company name.

Maybe by creating new classes that would only be "printonly"?

Is it even possible to achieve using CSS?

Thanks, pivic

Florianschmidtwelzow (talkcontribs)

> Is it even possible to achieve using CSS? No, and i would say: Not with the "normal" MediaWiki skins. Unfortunately actually have no idea, how to reach this :/

109.144.233.226 (talkcontribs)

Thanks for your reply. I have been looking everywhere and I can't find a solution by modifying the mediawiki.... The only thing I found to achieve what I want is to create my own render server by installing mwlib... Unfortunately I can't get it to work.... I'm surprised that mediawiki doesn't have a way to fully customize a print. Businesses would be very keen to have such feature!

Reply to "Header / Footer Customised"