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

/kbin meta

110 readers
1 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!

top 9 comments
sorted by: hot top controversial new old
[–] [email protected] 0 points 1 year ago (1 children)

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

[–] [email protected] 0 points 1 year ago (1 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 :(

[–] [email protected] 0 points 1 year 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.

[–] [email protected] 0 points 1 year ago (1 children)

that didn't work either :(

[–] [email protected] 1 points 1 year 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)

[–] [email protected] 0 points 1 year ago (1 children)

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

[–] [email protected] 0 points 1 year ago (1 children)
[–] [email protected] 0 points 1 year 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

[–] [email protected] 1 points 1 year 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.