[pmwiki-users] background image

Petko Yotov 5ko at 5ko.fr
Thu Oct 14 10:57:01 PDT 2021

Actually, LocalCSS is now included in PmWiki but disabled, and only 
needs to be enabled.

Otherwise, you can create a file pmwiki/pub/css/MyGroup.MyPage.css and 
configure the background image there:

body {
   background-image: url(my_image.jpg);

and place my_image.jpg in the same directory pmwiki/pub/css

If you do this with LocalCSS, you probably need to write the full URL of 
the picture, like url(https://yourdomain/path/to/my_image.jpg);

See https://www.w3schools.com/cssref/css3_pr_background.asp for more 
background options in CSS.


On 14/10/2021 19:17, Moni Kellermann wrote:
> Am 14.10.2021 um 18:40 schrieb jdd at dodin.org:
>> Hello,
>> I would insert a background image in *one* page of my pmwiki.
>> I use pmwiki responsive default style
>> is there a way to do so without adding a complete recipe like 
>> https://www.pmwiki.org/wiki/Cookbook/BackgroundImages
>> I do *not* want the image to be changed from the wiki itself :-)
> I think that https://www.pmwiki.org/wiki/Cookbook/LocalCSS would be a
> good solution but that of course is a complete cookbook recipe as well
> :)
> moni k.

More information about the pmwiki-users mailing list