Forums / Addon Templates / How to replace store name with logo? Mystic Template

How to replace store name with logo? Mystic Template

Locked

Views: 2,754

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
27 Mar 2009, 3:40 PM
#1
mamasylvia avatar

mamasylvia

Zen Follower

Join Date:
Feb 2008
Posts:
379
Plugin Contributions:
0

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!

Sylvia
PM at your own risk, I don't check in regularly!
MamaSylvia.com My ZenCart tutorial

27 Mar 2009, 3:53 PM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

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

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

// 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

27 Mar 2009, 6:43 PM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

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

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

27 Mar 2009, 6:51 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

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

Refreshing the page shows the images.

27 Mar 2009, 11:23 PM
#5
mamasylvia avatar

mamasylvia

Zen Follower

Join Date:
Feb 2008
Posts:
379
Plugin Contributions:
0

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

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.

Sylvia
PM at your own risk, I don't check in regularly!
MamaSylvia.com My ZenCart tutorial

28 Mar 2009, 2:41 AM
#6
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

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

mamasylvia:

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');

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.