Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2011
    Posts
    29
    Plugin Contributions
    0

    Default Can't centre Header image.

    I can't seem to find where I am going wrong here http://www.expressembroidery.com.au/zencart/ can't get the image to move over to the left. Can someone pls help?

    Many thanks

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Can't centre Header image.

    Here's the culprit:

    #logo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
    float: left;
    margin: 0em 5em 0em 30em;
    }

    Also, Zencart loads all stylesheets with the .css extension that are in the current template's css folder, so you have two sheets fighting each other. Remove or rename one or the other.

  3. #3
    Join Date
    Feb 2011
    Posts
    29
    Plugin Contributions
    0

    Default Re: Can't centre Header image.

    mmm found that it my stylesheet and changed it to 0 but didn't seem to change anything. Still confused...

    Thanks
    Gary

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Can't centre Header image.

    That's because it's in both stylesheets (stylesheet.css and stylesheet_safe.css), which is why I recommended you remove one or the other.

  5. #5
    Join Date
    Feb 2011
    Posts
    29
    Plugin Contributions
    0

    Default Re: Can't centre Header image.

    Awesome, got it thanks.

    Many thanks
    Gary
    Last edited by garwak; 8 Oct 2011 at 12:28 PM.

 

 

Similar Threads

  1. centre header text
    By maxy007 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 14 Jan 2011, 02:23 AM
  2. Making header background image higher without being hidden behind centre of website
    By Sushigal in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 23 Apr 2009, 04:36 PM
  3. Header image instead of text in centre boxes
    By robsnowden in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 10 Apr 2008, 11:17 PM
  4. How do I centre my header picture?
    By Newmanz in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Jul 2007, 07:35 AM

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