On Tue, 12 Mar 2024 14:15:25 +0100 Johan Cwiklinski <johan@x-tnd.be> wrote:
Hello,
Le 12/03/2024 à 13:21, Mhel a écrit :
Hello,
First off I'm not a web developer, just a hobbyist trying to help a friend. I have managed to install Galette on a raspberry pi for an offline use and it's working fine. I'm attempting to make a custom page with custom styles, I'm using 'galette_local.css' for the styles but I'm having a hard time inserting a background image. I can't figure out which directory to place my images. How do I get the correct path?
Local CSS file is stored in "webroot/themes/default" directory; then I'd advice to create a "webroot/themes/default/local_images" directory to put your images in, and use "./local_images/yourimage.png" in the CSS file.
This should do the trick (not tested since I'm at work right now ;)).
++
I tried it didn't work for me :( It's getting late on my part of the world. I'll try again tomorrow. If you ever have time to test that would be great, if it works on your end then something's wrong with my setup.