1 |
|
---|---|
Posted by | backgrounds? |
binji (#119111) Blessed View Forum Posts Posted on 2017-12-27 02:05:11 |
i want to do my own coding, but sources here seem a bit limited. what the code to change your background is, and where should it be implemented id also like to know the same for custom cursors 0 players like this post! Like? |
The Holy Fool (#134330)
View Forum Posts Posted on 2018-01-04 21:45:53 |
Hello! First you have to find an image you'd like. I'd recommend doing that on Google Images. Make sure the image is large enough by going to tools > size > larger than/custom. Once you've found the image, right click and select "copy image address". You should get a link ending in ".jpg" or similar. Make sure you have a CSS file (should end in .css, there are MANY google tutorials on how to create a CSS file, you can do so in Notepad or another program) available to be edited and insert this code: @media (min-width:768px) { body { background: url('PUT YOUR JPG IMAGE HERE') center center fixed !important; background-repeat: no-repeat; background-size: 100%; } } @media (max-width: 768px) { body { background: url('PUT SAME URL AS IMAGE ABOVE HERE') center center fixed !important; background-repeat: no-repeat; background-size: 100%; width: auto !important; min-width: 600px !important; } } Alright! You've entered the .jpg URL into the locations designated by the INSTRUCTIONS IN ALL TEXT (by right click and then "paste") and it's now in the CSS file. All you have to do now is upload the CSS file to a hosting site like github.io or dropbox. Once you have that link handy, place it here: Upload that to your den info, and you should be set! If you need any more elaboration or help, just ask! I can PM you an example of what it should look like if you'd like. 2 players like this post! Like? |
1 |
---|