SamuiNe / Crystalline-css

Theme CSS for BeautifulDiscord and BetterDiscord~
MIT License
21 stars 29 forks source link

Background not Loading #14

Closed Eppy37 closed 6 years ago

Eppy37 commented 6 years ago

Running on 1.16.1

I wanted to change my background image and when I did, it stopped trying to load it and all I get now is a dark background. I tried reverting back to my old background and even the default one when you copy the code into the file and none of the backgrounds are loading onto Discord.

SamuiNe commented 6 years ago

Which Discord version do you use (Live / PTB / Canary), and have you tried reapplying the CSS?

Also there is a more recent 1.16.1, but I have not yet incremented the version number- I should do that now.

Eppy37 commented 6 years ago

I'm using the current standard version of Discord(I would assume Live). I have reapplied the CSS and I am able to make some changes that take effect immediately, suck as changing the transparency value(which in this case, just makes the black background a darker or lighter black)

SamuiNe commented 6 years ago

Could be due to background link not starting with https:// or issues with it or the URL is down at the moment. Though, it might also be due Line 48 at .app, .connecting background 4th value being around 1 or more than 1, but doesn't seem to be the case based on the situation.

If those two aren't the case, is it alright for me to see the screenshot and which line have you edited?

Eppy37 commented 6 years ago

It's definitely not the above two. I've even started with a fresh install of 1.16.1 and the background images still doesn't load, No lines edited. The link to the default image does work in a browser.

I've even loaded a blanks css file and then reloaded this one. The theme itself shows up fine, but the background image isn't showing up.

https://i.imgur.com/HsA1wkx.png

SamuiNe commented 6 years ago

Thats odd, the Discord top bar shouldn't be like that- Have you tried using 1.16.2? Also, try updating beautifuldiscord, then do beautifuldiscord --revert and beautifuldiscord --css <css filepath> again just in case.

In addition, what operating system do you use?

Eppy37 commented 6 years ago

I did all of that and still nothing. I'm using Windows 8

the background was working perfectly fine earlier, only when I tried to change it tonight did this problem come up. I did receive like 2-3 minor discord updates since I updated to 1.16.1

SamuiNe commented 6 years ago

Last thing I could think of is to restart the computer while having the latest version.

Not sure what is the solution beyond this, to be honest ;;

Eppy37 commented 6 years ago

Yeah, still nothing. I guess I'll just leave it alone and maybe it will fix itself through later updates/discord updates? I don't know...

For now I'll just buff up the transparency so the screen isn't so dark. the rest of the theme is still fine.

shinji257 commented 6 years ago

Try clearing your discord cache. You will want to exit discord before doing this but then (on Windows) go to %appdata%\discord and remove the Cache and GPUCache folders. Start discord and it should pull new resources automatically.

Other platforms will likely have it in related locations on those systems.

EDIT: Linux is at $HOME/.config/discord

Eppy37 commented 6 years ago

Did that. Still no background.

SamuiNe commented 6 years ago

Kind of curious, what does your .app, .connecting and body CSS element look like?

Eppy37 commented 6 years ago

https://i.imgur.com/KEbDmYP.png

It should all be default except for the Opacity value which I brought down to 0.6 so it isn't so dark.

Eppy37 commented 6 years ago

Okay, I decided to tinker around to see if I could get the background to show again, and I managed to find a workaround. I renamed the css file that Beautiful Discord is pointed to by adding a 1 and then copying the information to a new css file with the correct name and that causes everything to work again. However, if I close the file and reopened and try to edit and save stuff, the background goes back out again. So in order to make any changes, I have to create a new file and copy stuff over. A crude solution and I have no Idea why it even does this, but everything works again, so eh.

SamuiNe commented 6 years ago

Yeah, Beautifuldiscord tends to be wonky at times. Also my apologies for the late response, and I'll keep a note for future troubleshooting. Thank you very much, eppy!