WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] align header image centre??? (3 posts)

  1. mattpearce79
    Member
    Posted 6 years ago #

    How do i align my header image to the centre of my page? at the moment it aligns to the left.

    thanks in advance

    Matt

    http://www.matthewpearce.co.uk/wordpress

  2. StrangeAttractor
    Member
    Posted 6 years ago #

    Try this. Look for the body selector in your stylesheet (right at the top) and change the line to this:

    body { background: #1d9fb5 url(images/main_bg.jpg) top center no-repeat; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; padding: 0px; margin: 0px; color:#333333;}

    That tells the background image to be at the top of the body element and to center horizontally.

  3. mattpearce79
    Member
    Posted 6 years ago #

    you're a star! Thank you for taking the time to reply

    Matt

Topic Closed

This topic has been closed to new replies.

About this Topic