this post was submitted on 13 Jun 2023
1 points (100.0% liked)

/kbin meta

7 readers
2 users here now

Magazine dedicated to discussions about the kbin itself. Provide feedback, ask questions, suggest improvements, and engage in conversations related to the platform organization, policies, features, and community dynamics. ---- * Roadmap 2023 * m/kbinDevlog * m/kbinDesign

founded 2 years ago
 

I have tried this code:
body { background-image: url('https://imgur.com/9Ns6RVS.png'); background-repeat: no-repeat; background-size: cover; }

Didn't work. Please help, thanks!

you are viewing a single comment's thread
view the rest of the comments
[–] raltsm4k@kbin.social 0 points 2 years ago (8 children)

Figured it out, you need to target #middle instead of body for the background to appear :)

[–] minnieo@kbin.social 0 points 2 years ago (7 children)

okay, sooo be nice cause i don't know how to code at all lol, so idk if i did it right, but, when i did this:
middle { background-image: url('https://imgur.com/9Ns6RVS.png'); background-repeat: no-repeat; background-size: cover; }

it still didnt work :(

[–] raltsm4k@kbin.social 0 points 2 years ago (1 children)

No worries, you need to include the pound sign before middle. So
#middle { background-image: url('https://imgur.com/9Ns6RVS.png'); background-repeat: no-repeat; background-size: cover; }
should work.

[–] minnieo@kbin.social 0 points 2 years ago (1 children)
[–] raltsm4k@kbin.social 1 points 2 years ago (1 children)

My bad, you need to remove the quotes from around the URL, it doesn't like those for some reason. So it'll be url(https://imgur.com/9Ns6RVS.png)

[–] minnieo@kbin.social 0 points 2 years ago (1 children)

OMFG THANK YOU IM SO DUMB LMAO. thank you this worked!!

[–] raltsm4k@kbin.social 0 points 2 years ago (1 children)
[–] minnieo@kbin.social 0 points 2 years ago (1 children)

another question, is there any place for css themes for kbin around here? i certainly couldn't write it myself, and i can't find documentation on it. i understand it may not be flesh out yet, but shot in the dark

[–] raltsm4k@kbin.social 1 points 2 years ago

/m/kbinStyles seems like what you'd want, it's not super populated but I'm sure there's some knowledgeable people who could help you out. If you don't find help there you can also feel free to message me since I have some CSS knowledge.

load more comments (5 replies)
load more comments (5 replies)