Closed HaIfBlind closed 2 years ago
Hello @VirgoTheOne-Eyed,
You can either edit the .css file of the theme (not recommended if you dont know what you do) or go into the discord settings -> Betterdiscord -> Themes and click on the little settingsicon for ClearVision, then scroll down a little til you find an text input named Background Image. Then enter the url or click on browse files the correct input will get set automatically
@mxr2004 I did that but it did not work
https://i.imgur.com/kiJDDoD.jpg This is the background I am trying to use
@VirgoTheOne-Eyed
@mxr2004 I did that but it did not work
https://i.imgur.com/kiJDDoD.jpg This is the background I am trying to use
Okay. Then do the following:
Step 1: Convert Image to base64
I did it for you: url('data:image/jpeg;base64,/9j/2wCEAAkGBxISEhUSEBAVFRUVFRUVFRUVFRUVGBUXFRcWFxUWFRcYHSggGBolHRcXITEhJSkrLi4uFx8zODMtNygtLisBCgoKDQ0NDg0NDisZFRktKysrKysrKys3KystKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrK//AABEIALcBEwMBIgACEQEDEQH/xAAbAAADAQEBAQEAAAAAAAAAAAAAAQIDBAUGB//EAC8QAAICAQIEBQMEAgMAAAAAAAABAhEhAzESQVFhBHGBkfChsdETIsHhFPEFIzL/xAAXAQEBAQEAAAAAAAAAAAAAAAAAAQMC/8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8A/IOIpMxTKTNHLayOIXETZBpYNk8QpMAlIzciZMVkVVktislsCkKyGxWBdjTIADTiDiM7CwNeIaZkmNMqNbE2Q5AmBVismwYDsOImxBVyfICbKSIAYhgNFJkoqIGsTSKISOjRgrXE6TeaVtLm6dJ+V+xQQibQiTFGsEEVwgaL09gA8NDsQihjsiwsgqyWyWxWBQmEsNr56BKSpKs27d7rFKuVZ877EVLZLYMTAAEMAGIdAIQxANMLFQAOxkgUWgJRQCCh0MAigQ0gSIGipQadNNPo1TXoxIoASLiEUaJAVCJtBERRaZUaxNImUGaxA1sCKEB4lhYmyWwptisViAbYhiZAWFiAAEVYgENIaAAaAYAIKHQwJoTKZLAQIdBQDTGCGADoVlIBUU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6sykzaZhNgQxMGABGVc6tU66PfzILoVAJIaRSQ6KJKlXJVtzvzAQQDEOgGkVSTpu11V/S0hIUgFPDIGxAUh0JFoio4RmnCAHq6aN0AAOKNdJABUfQ/8fGHC7vixS5bZt+x6nho2sdk+Wc7/UAA9DR0op3eVXevIz8QlfO28u+u+PqAAax8M1FNPLrb8nNqQvltjPKwADDU06+fg4PEeEtWuudv9gAVyfoLNvZYxd7b9Dz/ABGmnkAA87VRya8OvmAEHHqIx1pK24x4U6VW3W15ectX60AAYjAAEOgABgMCokoAAKAYFCE2AASXJ27fPcAIAcRgFUgACD//2Q==')
Step 2: paste the above line in Line 43 of your css file
Step 3: Dont forget to save the file and - if necessary - reload discord by fully closing and reopening it!
You could also use the theme Editor described in the Readme file
Please close this issue @VirgoTheOne-Eyed
@mxr2004 while I appreciate your help, please read up on css first. First, editing a .css file is perfecty fine and if something goes wrong, you can just delete the line that caused it or redownload the file. Second, converting the image to base64 is unnecessary and just makes the file size bigger, it only allows the image be hosted locally. Third, we can transform the image without using image editing tools.
@VirgoTheOne-Eyed if u need any more help, I advise you to join the discord server as the other devs and I are active there the most
@mxr2004 while I appreciate your help, please read up on css first. First, editing a .css file is perfecty fine and if something goes wrong, you can just delete the line that caused it or redownload the file. Second, converting the image to base64 is unnecessary and just makes the file size bigger, it only allows the image be hosted locally. Third, we can transform the image without using image editing tools.
Hey @Leozard , you are absolutely right that editing a .css file doesn't break anything except for the styling maybe. Styling without any idea of css is still hard though. The option to use a url was already mentioned and lastly regarding another issue. A vanilla Background in css cant be transformed. I didn't know that Discord uses the background as an html Element which makes it transformable again. Thanks for your reply :)
How do I import an image into the background of this theme