Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2007
    Posts
    21
    Plugin Contributions
    0

    Default How do I centre my header picture?

    www.newmanz.co.nz/zen

    Ok managed to get up my logo and header design but not sure how to get it to sit in the middle instead of up against the left hand side.
    Any help on this would be great

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: How do I centre my header picture?

    Aye. We've been through this before (kind of). Just remove the width line from this section of your CSS
    #headerContent {
    width:883px;
    height:220px;
    background:#1a7fb7 url('../images/header-bg.jpg') center no-repeat;
    }
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,684
    Plugin Contributions
    11

    Default Re: How do I centre my header picture?

    start by losing the width call on headerContent. Then, you may need to add text-align: center; to finish it up
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  4. #4
    Join Date
    Jul 2007
    Posts
    21
    Plugin Contributions
    0

    Default Re: How do I centre my header picture?

    Thanks guys. Sorted and searching for the next brick wall

 

 

Similar Threads

  1. Can't centre Header image.
    By garwak in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 8 Oct 2011, 12:23 PM
  2. centre header text
    By maxy007 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 14 Jan 2011, 02:23 AM
  3. how can i hide categories from header (picture)
    By dynamix88 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 6 Jun 2008, 06:58 AM
  4. How Do I Centre My Header Onto My Background?
    By Newmanz in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 26 Jul 2007, 04:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg