Zen Cart Logo

Classic Template

Locked

Views: 1,260

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
22 Apr 2007, 8:58 AM
#1
mattdownunder avatar

mattdownunder

New Zenner

Join Date:
Sep 2006
Posts:
14
Plugin Contributions:
0

Classic Template

Hi,

I'm using the classic template.
There is an image in the left and then the tagline next to it. Now I want that image on the left and right side how can that be done ?

Thanks.

Matt

22 Apr 2007, 9:46 AM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Classic Template

Hi Matt

The first thing to do is to copy all the classic directories where you have changed code to new directories so that you are working from a copy of the classic template, rather than the classic template itself. Otherwise when you next upgrade, you will overwrite all your good work.

To achieve the dual logo, edit the common/tpl_header.php file in your template (making a copy of the one in template_default if you haven't previously altered this file).

The changes that you will make to it are relatively straightforward. You find this line> <div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>and then duplicate it changiong the id to logo2.

Then in your stylesheet.css you add> #logo2 {

float:right;

}

22 Apr 2007, 10:13 AM
#3
mattdownunder avatar

mattdownunder

New Zenner

Join Date:
Sep 2006
Posts:
14
Plugin Contributions:
0

Re: Classic Template

works fine :clap:

Must have a look on how to protect stuff. My version is not the latest any more but I'm to scared to do something about it as I can't remember what files I've changed over the last few month.

Matt