Page background not showing up
-
Thanks to some help here before, I’m on my way to transfering my old HTML webpage (https://obliviouslyyours.com/blog.html) to the beginnings of a WordPress template. The new URL is https://obliviouslyyours.com/blog
If you look at the previous layout, I have a repeating background image going throughout the page. I want to repeat this in my theme, but I’m having trouble. There was a note in my style.css that said to put images in index.php, so that’s what I tried to do (though with a CSS tag). Currently I have this at the top of index.php:
<*style type=”text/css”>
body
{ background: #fff370;
background-image: url(images/bg.gif);
background-repeat: repeat-y;
background-attachment: scroll;
background-position: 0% 0%;
</*style>The image isn’t showing, and normally I would just gather that it was in the wrong place…yet the background *color* did show up and apply to the page. I’ve also tried putting this note in the body of style.css, but it hasn’t worked there, either.
Any suggestions?
P.S. Also, as you can see, I’m having problems with starting my content and sidebar at the same time. I think this might be because I messed with the margins, but I don’t know. And is there any way to get rid of those lines dividing sections? I have a hr note in my style.css (*hr { display: none;}), but it doesn’t seem to be helping…
I’m sorry for being so demanding, lol, but I didn’t want to create a lot of seperate topics. I’d greatly appreciate anything you’d have to add! Thanks. =)
- The topic ‘Page background not showing up’ is closed to new replies.