1
How do I add a background image (from a url) to my new magazine?
(media.kbin.social)
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
Figured it out, you need to target #middle instead of body for the background to appear :)
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 :(
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.
that didn't work either :(
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)
OMFG THANK YOU IM SO DUMB LMAO. thank you this worked!!
np!
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
/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.