Results 1 to 7 of 7
  1. #1
    Join Date
    May 2010
    Posts
    36
    Plugin Contributions
    0

    Default Header Image troubles

    I have recently started building a zen cart to replace my existing oscom cart. I am looking to retain my existing logo across the top of the site, but can't work out how to get the image to even appear on the page let alone in the right place.

    old site: http://livefoodsforgood.co.uk
    new site being built at: http://216.59.0.178/~livefood/LFFG/

    I appreciate this is probably a common question, but have followed the instruction in the wiki and done various searches on here, and after nearly 2 hours on what should be a simple task, have made no progress.

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

    Default Re: Header Image troubles

    You have it up there, but you'll need to:

    https://www.zen-cart.com/tutorials/i...hp?article=126

    and increase the height of #logoWrapper in the stylesheet to at least the height of your image (181px).

    If you want to use that image as-is, you'll also have to increase the width of #mainWrapper to 817px.

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Header Image troubles

    The simplest method would be to name your image logo.gif and save it in
    /includes/templates/your_template/images/. Then edit /includes/languages/english/header.php and change these defines as required:
    define('HEADER_ALT_TEXT', 'Powered by Zen Cart :: The Art of E-Commerce');
    define('HEADER_SALES_TEXT', 'TagLine Here');
    define('HEADER_LOGO_WIDTH', '192px');
    define('HEADER_LOGO_HEIGHT', '64px');

    define('HEADER_ALT_TEXT', 'Your store's logo alt text');
    define('HEADER_SALES_TEXT', '');
    define('HEADER_LOGO_WIDTH', 'whateverpx');
    define('HEADER_LOGO_HEIGHT', 'whateverpx');

  4. #4
    Join Date
    May 2010
    Posts
    36
    Plugin Contributions
    0

    Default Re: Header Image troubles

    Thanks for the replies, I have already carried out Steve's method but it doesnt seem to have worked... is there anything else I need to do to fix this?

    Would rather make this work than undo everything to try something else

  5. #5
    Join Date
    May 2010
    Posts
    36
    Plugin Contributions
    0

    Default Re: Header Image troubles

    Sorted with Steve's fix, just took some time to update

    Thank you both for your suggestions.

  6. #6
    Join Date
    May 2010
    Posts
    36
    Plugin Contributions
    0

    Default Re: Header Image troubles

    STOP PRESS

    It's gone again....

  7. #7
    Join Date
    May 2010
    Posts
    36
    Plugin Contributions
    0

    Default Re: Header Image troubles

    so.. it went, then the old banner thing came back... then it went again... and all just refreshing the screen.

    All I've done since is use the Define Pages Editor

 

 

Similar Threads

  1. Header troubles
    By Time_Is_Now in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 20 May 2009, 01:59 AM
  2. Large Image troubles-and i have looked everywhere!
    By jill8026 in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 25 Oct 2007, 03:37 AM
  3. Sidebox Header Image Troubles... :(
    By ssdsarah in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 2 Sep 2007, 05:49 AM
  4. IE header and footer troubles - please help - s.o.s.
    By anduril3019 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 6 Jul 2007, 08:19 PM
  5. Nav bar image troubles!
    By BuffaloGal in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 26 Apr 2007, 09:19 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