Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / removing the logo changes position of left column

removing the logo changes position of left column

Views: 649

Results 1 to 5 of 5
20 Feb 2011, 1:45 PM
#1
kdub avatar

kdub

New Zenner

Join Date:
Jan 2011
Posts:
12
Plugin Contributions:
0

removing the logo changes position of left column

I have done this

How do I remove the logo completely?
If you don't want or need a logo, open includes/templates/CUSTOM/common/ tpl_header.php find and comment out this line of code by adding <!-- at the beginning, --> at the end and // between the words php and echo, as shown below.

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

Save the file and upload it to your server.

but the result is that the logo is gone but the left column has now moved to the left to the edge of the screen i have the width of zencart set to 1020 px

it is at www dot robostep co uk

thanks

20 Feb 2011, 2:39 PM
#2
stevesh avatar

stevesh

Black Belt

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

Re: removing the logo changes position of left column

You left this uncommented at the end of that section. Try adding the closing comment tag after the clearBoth part.

</div>
<br class="clearBoth" />

Might be easier to just remove that part from the code.

20 Feb 2011, 3:03 PM
#3
kdub avatar

kdub

New Zenner

Join Date:
Jan 2011
Posts:
12
Plugin Contributions:
0

Re: removing the logo changes position of left column

stevesh:

You left this uncommented at the end of that section. Try adding the closing comment tag after the clearBoth part.

</div>
<br class="clearBoth" />

Might be easier to just remove that part from the code.

Sorry i dont see this bit of code where is it?
Sorry to be dumb

20 Feb 2011, 3:42 PM
#4
stevesh avatar

stevesh

Black Belt

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

Re: removing the logo changes position of left column

The last four lines of the branding display section look like this:

<?php } // no HEADER_SALES_TEXT or SHOW_BANNERS_GROUP_SET2 ?> </div> <br class="clearBoth" /> <!--eof-branding display-->

be sure to include them in your commented section ( or just remove everything between <!--bof-branding display--> and <!--eof-branding display--> inclusive.)

20 Feb 2011, 4:44 PM
#5
kdub avatar

kdub

New Zenner

Join Date:
Jan 2011
Posts:
12
Plugin Contributions:
0

Re: removing the logo changes position of left column

nice one done that it works you're a g