• https://carolynchappellhome.com/

    Obviously I have a lot of problems.

    Most pressing: How do I get that background image to center? The Body tag’s margins are set to 0 auto. Isn’t that supposed to center it? That’s where I’ve put the image, under the body tag or selector or whatever it’s called. If I put it anywhere else (container, page, etc.) it gets really wonky.

    I don’t even understand why there are so many different things. I get body and container, but the page one just seems redundant. What am I missing?

    Here is my goal: https://carolynchappellhome.com/wp-content/themes/Something%20New/images/designing.jpg

    I found a great tutorial online (at wpdesigner.com) and learned a lot, but this theme I’m butchering has a whole lot more elements than the one in the tut, and I am so lost. Help?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi simplymother,

    To get your background image to centre on the page, open your CSS file and, in the body {} tag, call your background image like this:

    background: #A17FFF url(images/bg.gif) repeat-y scroll center top;

    This should set the alignment of the image to the center and starting from the top. ??

    Thread Starter simplymother

    (@simplymother)

    Thank you!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘center my background (and other problems!)’ is closed to new replies.