Support » Fixing WordPress » How to keep the background centered css

  • I know this isn’t exactly a WordPress issue, but I need it for my WordPress blog.

    The main area is 980px, the background image is 2000px.
    As the browsers gets smaller the moves to the right, I need it to stay centered and the left side needs to vanish.

    Any ideas?

Viewing 1 replies (of 1 total)
  • Moderator cubecolour

    (@numeeja)

    ɹoʇɐɹǝpoɯ

    the CSS rule you need to add is

    background-position: center;

    please provide a link to the site if you need a more specific answer

Viewing 1 replies (of 1 total)
  • The topic ‘How to keep the background centered css’ is closed to new replies.