Forums / Templates, Stylesheets, Page Layout / How to change the logo position?

How to change the logo position?

Locked

Views: 1,155

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
27 Jun 2009, 6:55 PM
#1
autoace avatar

autoace

Totally Zenned

Join Date:
Jun 2009
Posts:
618
Plugin Contributions:
0

How to change the logo position?

Hi,

I am trying to change the position of my logo (curently the default logo) to beside my navigation category tabs in the header and above the EZPages navigation bar.

Is it possible to do that with the CSS stylesheet? If yes, please give me the proper code! Thank you. I have v1.3.8

For a visual: http://www.a u t o m o t i v e a c e.com

Thank you,
autoace

27 Jun 2009, 6:59 PM
#2
clydejones avatar

clydejones

Deceased

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

Re: How to change the logo position?

autoace:

Hi,

I am trying to change the position of my logo (curently the default logo) to beside my navigation category tabs in the header and above the EZPages navigation bar.

Is it possible to do that with the CSS stylesheet? If yes, please give me the proper code! Thank you. I have v1.3.8

For a visual: http://www.a u t o m o t i v e a c e.com

Try the tutorials/FAQ section
www.zen-cart.com/tutorials/index.php?article=125

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

27 Jun 2009, 7:08 PM
#3
autoace avatar

autoace

Totally Zenned

Join Date:
Jun 2009
Posts:
618
Plugin Contributions:
0

Re: How to change the logo position?

Hi Clyde:

Went there, did that, but does not accomplish my goal. Any other suggestions? Thank you.

Thank you,
autoace

27 Jun 2009, 9:30 PM
#4
clydejones avatar

clydejones

Deceased

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

Re: How to change the logo position?

autoace:

Hi Clyde:

Went there, did that, but does not accomplish my goal. Any other suggestions? Thank you.

You could try this:

open includes/templates/YOUR_TEMPLATE/common/tpl_header.php

find this section of code:

<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, HEADER_LOGO_WIDTH, HEADER_LOGO_HEIGHT) . '</a>'; ?></div>

AND Move it to here

<div id="navMainWrapper"> <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, HEADER_LOGO_WIDTH, HEADER_LOGO_HEIGHT) . '</a>'; ?></div> <div id="navMain">

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