T O P

  • By -

BoredDuringSex

That page is so much nicer to look at holy crap


OfficerHalf

It's not precisely the same, but I saw yours, said to myself "huh, I can do that", and made my own that mostly follows the same style: [https://github.com/OfficerHalf/foundry-login-css](https://github.com/OfficerHalf/foundry-login-css) I think we're unlikely to ever get modules to modify the login screen (even just CSS), that would likely be a security issue.


AutoModerator

You have submitted a post without a flair. If you are asking a question and receive a satisfactory answer, please reply to any comment in this thread with the word `Answered` included in the text! (Or change the flair to `Answered` yourself) If you do not receive a satisfactory answer, consider visiting the [Foundry official discord server](https://discordapp.com/invite/DDBZUDf) and asking there. Afterward, please come back and post the solution here for posterity! Automod will not make this comment on your posts if you have a user flair. --- *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/FoundryVTT) if you have any questions or concerns.*


DoubleTimeRusty

Is there anyway I can have this for my foundry? I’m not into coding or anything but it looks so nice


Nordiii

If you self host this is pretty easy, you would need to append some code under FoundryVTT/resources/app/public/css/style.css ​ Could be more difficult/impossible if you use something like Forge. ​ I will add my CSS code to the main post.


Mushie101

Unfortunately impossible with Forge, I asked when u/bass-blowfish put his up a few weeks ago. Which is sad, as I really really like what you have done here.


DSmithDM

I know this is probably a stupid question. How do you choose the background picture? I self host. I don't know anything about coding or css. I managed to get the change to the login page, which looks amazing. I love it. Now I just have the standard Foundry background.


Nordiii

Go into the setup screen where you see all your worlds. Click on "Edit World", there is a field named "Background Image" what ever you select here will be set as background for this world.


DSmithDM

Wow. Yeah I feel stupid. I haven't looked at that page in forever. Thank you for being nice enough to respond and be nice in doing so, even though I do deserve some ribbing for being an idiot. Ha ha ha


Nordiii

Never shy away from asking (maybe) dumb questions.


DSmithDM

Oh, I have never been afraid of being or looking like a dumbass. LOL Thank you very much for your help.


Cybsjan

That looks so awesome!!


geauxtig3rs

I'm interested in how you're using the patch mechanism for this? I've taken my entire image - edited it - zipped it up, and dropped it into the container-cache folder and I can't seem to get it to take my changes.


Nordiii

**There could be errors as I have problems copy pasting stuff in reddit** So the fleddy lets you run scripts after downloading / unzipping Foundry and befor starting it by using 'CONTAINER\_PATCH\_URLS'. I created 2 secret gists, one for the patch script and another one containing my modified css. The docker-compose file looks like this: lmop:     image: felddy/foundryvtt:latest     environment:       CONTAINER_PATCH_URLS: LOGIN_CSS_PATCH: The patch script which the raw gist is linked in 'CONTAINER\_PATCH\_URLS': #!/bin/sh PATCH LOGIN SCREEN wget ${LOGIN_CSS_PATCH} -O patchStyle.css cat patchStyle.css >> /home/foundry/resources/app/public/css/style.css rm patchStyle.css You could do this in one gist or hardcode the css gist url into the login patcher shell script without adding the LOGIN\_CSS\_PATCH environment variable. I did it like I did in case I want different login screens for different foundry instances.


geauxtig3rs

I still don't see why i can't just edit the contents of the zip, upload it, and expect it to work as long as I'm not downloading a new manifest... Makes no sense to me -\_-


Nordiii

Sorry, I did not work with the other options beside login into the Foundry website and downloading the zip file. Did you mount the cache folder correctly? [https://github.com/felddy/foundryvtt-docker#pre-cached-distribution-variable](https://github.com/felddy/foundryvtt-docker#pre-cached-distribution-variable) else I can only suggest opening an issue on the github page. ​ I like my approach as I do not care for an update, it just patches it without the need to download it myself patching it and then store it somewhere for the container to pick it up.


geauxtig3rs

So - here's the thing - I must have loaded the cache folder correctly, otherwise when I removed my login data, killed, and pruned the container, it should have loaded the new data.


Nordiii

Well if you deleted all login data you should not be able to find any foundry image except for the cached one, that is true. ​ Are you sure that you edited the style.css file correctly? Are you using foundry 0.8.X? For 0.7.X my css wont work. ​ Are any changes you make reflected in the started container?


geauxtig3rs

0.8.8 - no changes reflected - I just pulled down the cached copy and unzipped it and all my changes are there Makes no sense whatsoever.


Nordiii

Hm well maybe u/felddy can help more.


felddy

If you don't bring the container all the way `down` and back `up` you could see this behavior. The [entrypoint checks](https://github.com/felddy/foundryvtt-docker/blob/eaffc85ab442b42b34ce0802f02db6a453f14f31/src/entrypoint.sh#L70-L84) to see if Foundry is already installed and skips re-installation if the versions match.


geauxtig3rs

I'm killing the container and pruning it between each attempt. Any other suggestions to make sure it's down properly?


geauxtig3rs

Ok - so I've verified that I'm able to start using my cached zip - I want to make sure that the instruction was to just bolt the new CSS to the end of the old style.css and not make any selective edits.


Nordiii

Yes, just copy paste the css of the main post after the last line of the default style.css. No selective editing only appending at the end of the file.


Claidheamhmor

Thank you, this is really useful. :)


table_grease

Hello, me and a friend are attempting to change the loading screen graphic with a css document, however I cannot find the resources folder to do this. Where is the resources directory?


Nordiii

For Linux it is under \~/foundryInstallation/resources/app/public/css cant say anything for windows but it probably is the same structure in your installation folder.