Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Unwanted double banner

Unwanted double banner

Locked

Views: 2,013

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
11 Jan 2009, 12:12 AM
#1
netstetika avatar

netstetika

New Zenner

Join Date:
Jan 2009
Posts:
4
Plugin Contributions:
0

Unwanted double banner

Hi guys:

I have "problem" with zen card here chillipod . com / buy /
As you can already see, banner is duplicated (should be only on left side). I've spent hours with this, but if I disable it, bot will dissapear, and I need removed only one.

thank you in advance:oops:

11 Jan 2009, 1:09 AM
#2
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Unwanted double banner

Hi netstetika

It looks like your site is Adult content...

That's fine by me, I'm not a prude.

But some forum members may feel differently, so it is customary for people who run Adult Content sites to alert the forum to this, so that people who are not OK with that content understand the risk.

Now... your problem.

The header in zencart is made up of TWO graphics. A BACKGROUND graphic and a LOGO.

You seem somehow to have blended both...

(PS I can't help feeling that this post is a decoy... Are you just trying to get people to visit your site?)

11 Jan 2009, 8:43 PM
#3
netstetika avatar

netstetika

New Zenner

Join Date:
Jan 2009
Posts:
4
Plugin Contributions:
0

Re: Unwanted double banner

fairestcape:

Hi netstetika

It looks like your site is Adult content...

That's fine by me, I'm not a prude.

But some forum members may feel differently, so it is customary for people who run Adult Content sites to alert the forum to this, so that people who are not OK with that content understand the risk.

Now... your problem.

The header in zencart is made up of TWO graphics. A BACKGROUND graphic and a LOGO.

You seem somehow to have blended both...

(PS I can't help feeling that this post is a decoy... Are you just trying to get people to visit your site?)

Thank you for your time. Post is not a decoy, website is not finished and I don't think posting here would help exposure to traffic such website require.:mellow:

Anyway,I didn't understood your post regarding my problem. Is there a way to remove duplicate banner on right side? thanks once again

11 Jan 2009, 10:00 PM
#4
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Unwanted double banner

Take a look at these two paths, that show the two images:

http://chillipod.com/buy/includes/templates/classic/images/chilli2.jpg

and

http://chillipod.com/buy/includes/templates/classic/images/logo.gif

In the FIRST one, somehow you have "embedded" the zencart logo in the actual image. You will need to re-create the image: chilli2.jpg

The logo.gif is removed by:

  1. editing the header.php file in the appropriate languages directory. Here you will see:
<?php
/**
 * @package languageDefines
 * @copyright Copyright 2003-2006 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: header.php 2940 2006-02-02 04:29:05Z drbyte $
 */

// header text in includes/header.php
  define('HEADER_TITLE_CREATE_ACCOUNT', 'Create Account');
  define('HEADER_TITLE_MY_ACCOUNT', 'My Account');
  define('HEADER_TITLE_CART_CONTENTS', 'Shopping Cart');
  define('HEADER_TITLE_CHECKOUT', 'Checkout');
  define('HEADER_TITLE_TOP', 'Top');
  define('HEADER_TITLE_CATALOG', 'Home');
  define('HEADER_TITLE_LOGOFF', 'Log Out');
  define('HEADER_TITLE_LOGIN', 'Log In');

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

// header Search Button/Box Search Button
  define('HEADER_SEARCH_BUTTON','Search');
  define('HEADER_SEARCH_DEFAULT_TEXT', 'Enter search keywords here');

?>

You need to remove/alter unwanted references:

<?php
/**
 * @package languageDefines
 * @copyright Copyright 2003-2006 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: header.php 2940 2006-02-02 04:29:05Z drbyte $
 */

// header text in includes/header.php
  define('HEADER_TITLE_CREATE_ACCOUNT', 'Create Account');
  define('HEADER_TITLE_MY_ACCOUNT', 'My Account');
  define('HEADER_TITLE_CART_CONTENTS', 'Shopping Cart');
  define('HEADER_TITLE_CHECKOUT', 'Checkout');
  define('HEADER_TITLE_TOP', 'Top');
  define('HEADER_TITLE_CATALOG', 'Home');
  define('HEADER_TITLE_LOGOFF', 'Log Out');
  define('HEADER_TITLE_LOGIN', 'Log In');

// added defines for header alt and text
  define('HEADER_ALT_TEXT', 'INSERT YOUR TEXT HERE');
  define('HEADER_SALES_TEXT', '');
  define('HEADER_LOGO_WIDTH', '');
  define('HEADER_LOGO_HEIGHT', '');
  define('HEADER_LOGO_IMAGE', '');

// header Search Button/Box Search Button
  define('HEADER_SEARCH_BUTTON','Search');
  define('HEADER_SEARCH_DEFAULT_TEXT', 'Enter search keywords here');

?>
  1. Then, in your template's stylesheet, you need to remove the reference calling the logo.gif image:
#logoWrapper{
	background-image: url(../images/header_bg.jpg);
	background-repeat: repeat-x;
	background-color: #ffffff;
	height:75px;
	}
#logoWrapper{
	/*background-image: url(../images/header_bg.jpg);
	background-repeat: repeat-x;*/
	background-color: #ffffff;
	height:75px;
	}
13 Jan 2009, 4:01 PM
#5
netstetika avatar

netstetika

New Zenner

Join Date:
Jan 2009
Posts:
4
Plugin Contributions:
0

Re: Unwanted double banner

netstetika:

Thank you for your time. Post is not a decoy, website is not finished and I don't think posting here would help exposure to traffic such website require.:mellow:

Anyway,I didn't understood your post regarding my problem. Is there a way to remove duplicate banner on right side? thanks once again

thank you for precise answer. I will now use this info to solve problem. thank you once again

13 Jan 2009, 5:10 PM
#6
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town &amp; London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Unwanted double banner

fairestcape:

Take a look at these two paths, that show the two images:

http://chillipod.com/buy/includes/templates/classic/images/chilli2.jpg

and

http://chillipod.com/buy/includes/templates/classic/images/logo.gif

In the FIRST one, somehow you have "embedded" the zencart logo in the actual image. You will need to re-create the image: chilli2.jpg

The logo.gif is removed by:

  1. editing the header.php file in the appropriate languages directory. Here you will see:
<?php /** * @package languageDefines * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 * @version $Id: header.php 2940 2006-02-02 04:29:05Z drbyte $ */ // header text in includes/header.php define('HEADER_TITLE_CREATE_ACCOUNT', 'Create Account'); define('HEADER_TITLE_MY_ACCOUNT', 'My Account'); define('HEADER_TITLE_CART_CONTENTS', 'Shopping Cart'); define('HEADER_TITLE_CHECKOUT', 'Checkout'); define('HEADER_TITLE_TOP', 'Top'); define('HEADER_TITLE_CATALOG', 'Home'); define('HEADER_TITLE_LOGOFF', 'Log Out'); define('HEADER_TITLE_LOGIN', 'Log In'); // 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'); // header Search Button/Box Search Button define('HEADER_SEARCH_BUTTON','Search'); define('HEADER_SEARCH_DEFAULT_TEXT', 'Enter search keywords here'); ?>
> 
> You need to remove/alter unwanted references:
> 
> ```php
<?php
/**
 * @package languageDefines
 * @copyright Copyright 2003-2006 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: header.php 2940 2006-02-02 04:29:05Z drbyte $
 */

// header text in includes/header.php
  define('HEADER_TITLE_CREATE_ACCOUNT', 'Create Account');
  define('HEADER_TITLE_MY_ACCOUNT', 'My Account');
  define('HEADER_TITLE_CART_CONTENTS', 'Shopping Cart');
  define('HEADER_TITLE_CHECKOUT', 'Checkout');
  define('HEADER_TITLE_TOP', 'Top');
  define('HEADER_TITLE_CATALOG', 'Home');
  define('HEADER_TITLE_LOGOFF', 'Log Out');
  define('HEADER_TITLE_LOGIN', 'Log In');

// added defines for header alt and text
  define('HEADER_ALT_TEXT', 'INSERT YOUR TEXT HERE');
  define('HEADER_SALES_TEXT', '');
  define('HEADER_LOGO_WIDTH', '');
  define('HEADER_LOGO_HEIGHT', '');
  define('HEADER_LOGO_IMAGE', '');

// header Search Button/Box Search Button
  define('HEADER_SEARCH_BUTTON','Search');
  define('HEADER_SEARCH_DEFAULT_TEXT', 'Enter search keywords here');

?>
  1. Then, in your template's stylesheet, you need to remove the reference calling the logo.gif image:

#logoWrapper{
background-image: url(../images/header_bg.jpg);
background-repeat: repeat-x;
background-color: #ffffff;
height:75px;
}

> 
> ```php
#logoWrapper{
	/*background-image: url(../images/header_bg.jpg);
	background-repeat: repeat-x;*/
	background-color: #ffffff;
	height:75px;
	}

SORRY,,, my reference is incorrect in the above example...

You need to find logo.gif references NOT header_bg.jpg

19 Nov 2009, 5:41 AM
#7
nmathew avatar

nmathew

New Zenner

Join Date:
Nov 2009
Posts:
2
Plugin Contributions:
0

Re: Unwanted double banner

Hello Guys;

I would be much appreciated if you could advice me on a double banner issue that i have on my site

https://www.joseph.org.au/cart

now the site is currently set to down for maintenance. You will see that there is only a single banner.

Once i take it off from down for maintenance the double banner pops up on the site with the 2 banners instead of one.

any advice on how i can remove the double banner issue!!!

cheers
nvn

20 Feb 2010, 5:51 PM
#8
stonearth avatar

stonearth

New Zenner

Join Date:
Feb 2010
Posts:
9
Plugin Contributions:
0

Re: Unwanted double banner

Hey all,

Back again...doh! Anyways, netstetika, were you able to work out how to disable 1 of the banners, instead of it repeating it on both sides, or in my case, twice on the same side (I only wanted it on the left side column).

I am a n00b even though I used Zen Cart before, I merely change bits and bobs but am more than willing to experiment.

Theres just so much I would like to tweak our site... espcially a drop down menu for the categories at the top.

Anyways, any help would be appreciated as I know this community is the best, always has been. :hug:

Thanks in advance!

Ken.
http://www.stonearth.net/

21 Feb 2010, 10:23 AM
#9
stonearth avatar

stonearth

New Zenner

Join Date:
Feb 2010
Posts:
9
Plugin Contributions:
0

Re: Unwanted double banner

Anyone?

Would appreciate any help. Just turned it off as I am going for a simplistic look.

Hope to hear from someone soon, thank you in advance!

Ken.
http://www.stonearth.net