Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Change Logo from Text to Image

Change Logo from Text to Image

Locked

Views: 1,510

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
21 Nov 2007, 12:23 AM
#1
pochon avatar

pochon

New Zenner

Join Date:
May 2007
Posts:
18
Plugin Contributions:
0

Change Logo from Text to Image

How can I change this code to change the store name to display a logo image instead of the stores name in text?

    <div id="logoWrapper">
        <div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . STORE_NAME . '</a>' ?></div>
<?php
    if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) {
        if (HEADER_SALES_TEXT != '') {
?>
        <div id="taglineWrapper"><?php echo HEADER_SALES_TEXT; ?></div>
```I want to instead of having the stores name in text, to have a logo image I have.
21 Nov 2007, 11:20 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Change Logo from Text to Image

By default, Zen Cart uses an image - logo.gif - have you done something to break this?

21 Nov 2007, 5:23 PM
#3
pochon avatar

pochon

New Zenner

Join Date:
May 2007
Posts:
18
Plugin Contributions:
0

Re: Change Logo from Text to Image

I'm using the flower template in the download section. It takes out the image and replaces it with text.

21 Nov 2007, 6:08 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Change Logo from Text to Image

Compare/edit or replace this templates tpl_header.php with the core file that is in the template_default/common folder