Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2008
    Posts
    385
    Plugin Contributions
    0

    Default How to replace store name with logo? Mystic Template

    I've hunted for FAQs and threads on this but they all seem to involve replacing the arch file and/or the "powered by ZenCart" image with a logo image. I apparently already deleted both those images, which is fine. Now I want to replace the store name text with a GIF or JPG image. I'm pretty sure I need to edit stylesheet.css but what in it do I need to replace? I've uploaded the new header.jpg to /email, and the new logo.gif to /admin/images and /includes/templates/mystic/images and I forget where else (following instructions in a previous thread) and it shows up great in Admin and invoices. I just would like it to show up instead of the Welcome to MamaSylvia.com that currently shows in my store.

    Thanks in advance!
    [FONT="Times New Roman"]Sylvia
    PM at your own risk, I don't check in regularly!
    MamaSylvia.com My ZenCart tutorial
    [/FONT]

  2. #2
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: How to replace store name with logo?

    Look in includes/languages/english/YOUR_TEMPLATE/header.php

    Code:
    // added defines for header alt and text
      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_LOGO_IMAGE', 'logo.gif');
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

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

    Default Re: How to replace store name with logo?

    Not much of the current 'Welcome to' shows up in IE7, nor do your sidebox header images.

    The first is probably a height issue in #logoWrapper

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

    Default Re: How to replace store name with logo?

    Refreshing the page shows the images.

  5. #5
    Join Date
    Feb 2008
    Posts
    385
    Plugin Contributions
    0

    Default Re: How to replace store name with logo?

    There was no includes/languages/english/mystic/header.php (my current template is mystic)

    I found includes/languages/english/header.php that had my modified main header, so I added the image file to that and uploaded it back to includes/languages/english/ (I don't want this change to apply only to the current template.) But it hasn't changed the main page. I have a feeling ZC doesn't know where to look for the file, so I changed the image line to:

    define('HEADER_LOGO_IMAGE', '/includes/languages/English/mamasylvia-transparent.gif');

    Still no change, so I uploaded the gif to includes/templates/mystic/images and includes/languages/english/images. Still no change (except a small link labelled mamasylvia.com appeared and disappeared about the Welcome to MamaSylvia.com message with some changes). I removed the includes/languages/English/ part of the define line (and yes, uploaded the new file) and my fancy new logo STILL has not appeared (and I refreshed a couple of times with each change to make sure)

    Any clues as to where I need to upload the file or how I can tell ZC where to look for it? I have a feeling this is really obvious, I just don't know where to look.
    [FONT="Times New Roman"]Sylvia
    PM at your own risk, I don't check in regularly!
    MamaSylvia.com My ZenCart tutorial
    [/FONT]

  6. #6
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: How to replace store name with logo? Mystic Template

    Quote Originally Posted by mamasylvia View Post
    There was no includes/languages/english/mystic/header.php (my current template is mystic)

    I found includes/languages/english/header.php that had my modified main header, so I added the image file to that and uploaded it back to includes/languages/english/ (I don't want this change to apply only to the current template.) But it hasn't changed the main page. I have a feeling ZC doesn't know where to look for the file, so I changed the image line to:

    define('HEADER_LOGO_IMAGE', '/includes/languages/English/mamasylvia-transparent.gif');

    Still no change, so I uploaded the gif to includes/templates/mystic/images and includes/languages/english/images. Still no change (except a small link labelled mamasylvia.com appeared and disappeared about the Welcome to MamaSylvia.com message with some changes). I removed the includes/languages/English/ part of the define line (and yes, uploaded the new file) and my fancy new logo STILL has not appeared (and I refreshed a couple of times with each change to make sure)

    Any clues as to where I need to upload the file or how I can tell ZC where to look for it? I have a feeling this is really obvious, I just don't know where to look.
    Is the image actually transparent or is that just the name you gave it?

    ZC is looking for your image in:

    includes/templates/mystic/images/mamasylvia-transparent.gif

    Make sure your image is located as indicated above

    Open includes/languages/english/mystic/header.php

    edit the following definitions as indicated

    define('HEADER_LOGO_WIDTH', '570');
    define('HEADER_LOGO_HEIGHT', '119');
    define('HEADER_LOGO_IMAGE', 'mamasylvia-transparent.gif');

 

 

Similar Threads

  1. v154 How to replace logo on tablets/mobile on responsive template...
    By toomanyknots in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 8 Mar 2016, 11:45 PM
  2. Replies: 4
    Last Post: 25 Nov 2013, 05:28 PM
  3. How do I replace image logo for live font logo ?
    By gabrielzn in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 15 Aug 2010, 07:00 AM
  4. How To Replace Store Name with Logo?
    By kenix in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 23 Apr 2009, 05:55 PM
  5. How to replace category/product name with image?
    By Rotkale in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 19 Dec 2006, 03:59 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