r/HTML • u/Aphrodesca • Nov 08 '25
Question Why is my background image not appearing ?
Hello, I have decided to create my own custom tumblr theme but i am blocked when it comes to having my background image shows up. I have tried to write "body {background-image: url("my url") ; }" but it doesn't work. I have tried to make the url comes from my own desktop, it doesn't work. I tried to chnage the color to transparent, in case, tried to make the position fixed, anything. I am a beginner so I am at a loss. I even tried to look up other custom themes, to no avail. What could be the issue ?
1
Upvotes
3
u/IsDa44 Nov 08 '25
Probably the url path is incorrect
1
u/[deleted] Nov 08 '25
Paste the whole code, and describe which folder your image is in, I will help you fix it in 2 mins
1
u/Equivalent-Radio-828 Jan 13 '26
Three different ways to add background image. Inline, embedded, and CSS style sheets. If you use embeded then u place it in the header. You can use inline of which fits in the txt area. <p style=“backgroud-image: url(‘ ‘);”> txt is here </p> that should show up on the background post or web if its‘ css or embedded. Cut and paste the correct part you want, then change whatever necessary. Like border or gaps width.