Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Configuring the Zen Cart Admin / Basic Configuration / Cant get rid of if link on banner!

Cant get rid of if link on banner!

Locked
This thread is locked. New replies are disabled.
11 Feb 2008, 6:43 PM
#1
orchard_direct avatar

orchard_direct

Zen Follower

Join Date:
Aug 2007
Location:
Brighton, UK
Posts:
204
Plugin Contributions:
0

Post #1 by orchard_direct

On IE there is still a link on the top far left hand side of my banner, however i have tried deleting it and now all that is left is the red "x" where a picture should be. How do i completely remove this? Cheers

Website shown here https://www.orcharddirect.co.uk/store

11 Feb 2008, 7:17 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Post #2 by schoolboy

You don't have an image called bannertop.jpg in your images folder, and your banner image is being rendered as your background image

Go to your stylesheet and find:-

#logoWrapper{

background-image: url(../images/bannertop.jpg);

and change it to:-

#logoWrapper{

	background-image: url(../images/bannerback.jpg);

Then create a pure white image (jpg) of dimensions 810 X 155 and call it bannerback.jpg

FTP this image to your images folder (NOT the one in your custom template, the one in your root directory).

This may blot out your banner all together.

If so, try commenting out the reference to the background image in your stylesheet

#logoWrapper{

	/*background-image: url(../images/bannerback.jpg);*/

Failing that... make sure you have all the appropriate images, and that the paths to call them are correct.

20 years a Zencart User

11 Feb 2008, 7:21 PM
#3
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Post #3 by schoolboy

:wacko: (don't know if any of the above will work, actually!!)

But seriously... In the HEADER (Logo Wrapper) you need a background image and a logo image. Check also english.php in the language folder (of your custom template) and look for logo.gif and / or logo.jpg.

(Are you referencing the correct image, according to how it's named in the defines?)

I hope this garbled attempt at support helps you!

20 years a Zencart User

11 Feb 2008, 7:21 PM
#4
kobra avatar

kobra

Black Belt

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

Post #4 by kobra

What have you done for the removal??

This looks to be seeking logo.gif

Zen-Venom Get Bitten

11 Feb 2008, 7:26 PM
#5
kobra avatar

kobra

Black Belt

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

Post #5 by kobra

Not actually in english.php but in includes/languages/english/header.php

Looks like this:

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

Make it like this:

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

Red is a pair of single quotes that MUST be retained

Zen-Venom Get Bitten

11 Feb 2008, 7:33 PM
#6
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Post #6 by schoolboy

Kobra (apologies for the english.php...)

But the source code on the page shows this:-

<div id="logoWrapper">
<div id="logo"><a href="http://www.orcharddirect.co.uk/store/"><img src="includes/templates/orchard/images/" alt="" /></a></div>

There's no reference to an image in the img src.

... ???

20 years a Zencart User

11 Feb 2008, 7:37 PM
#7
kobra avatar

kobra

Black Belt

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

Post #7 by kobra

schoolboy:

There's no reference to an image in the img src.
And why I asked what he did??

Zen-Venom Get Bitten

11 Feb 2008, 10:06 PM
#9
orchard_direct avatar

orchard_direct

Zen Follower

Join Date:
Aug 2007
Location:
Brighton, UK
Posts:
204
Plugin Contributions:
0

Post #9 by orchard_direct

kobra:

Not actually in english.php but in includes/languages/english/header.php

Looks like this:

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

> 
> Make it like this:
> ```
// 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', '');

Red is a pair of single quotes that MUST be retained

Ive dne that but makes no difference... any ideas?

11 Feb 2008, 10:14 PM
#10
orchard_direct avatar

orchard_direct

Zen Follower

Join Date:
Aug 2007
Location:
Brighton, UK
Posts:
204
Plugin Contributions:
0

Post #10 by orchard_direct

kobra:

Not actually in english.php but in includes/languages/english/header.php

Looks like this:

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

> 
> Make it like this:
> ```
// 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', '');

Red is a pair of single quotes that MUST be retained

Ive dne that but makes no difference... any ideas? cheers

12 Feb 2008, 10:49 AM
#11
kobra avatar

kobra

Black Belt

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

Post #11 by kobra

What did you do for the removal before??

Zen-Venom Get Bitten

14 Feb 2008, 7:55 AM
#14
kobra avatar

kobra

Black Belt

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

Post #14 by kobra

Well guess we need to get surgical in your case...
Find this or make a copy and place it in your /includes/templates/custom/common folder - remove the red entry - save - upload
File = tpl_header.php

<!--bof-branding display-->
<div id="logoWrapper">
    <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>
    <div id="taglineWrapper">
<?php

Zen-Venom Get Bitten

11 Mar 2008, 2:44 AM
#15
tattooedjedimom avatar

tattooedjedimom

New Zenner

Join Date:
Mar 2008
Posts:
1
Plugin Contributions:
0

Post #15 by tattooedjedimom

kobra:

Well guess we need to get surgical in your case...
Find this or make a copy and place it in your /includes/templates/custom/common folder - remove the red entry - save - upload
File = tpl_header.php

<!--bof-branding display--> <div id="logoWrapper"> <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> <div id="taglineWrapper"> <?php ```

I'm having the same problem... did exactly this and all that did was make my page disappear. FYI.

11 Mar 2008, 5:03 AM
#16
kobra avatar

kobra

Black Belt

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

Post #16 by kobra

tattooedjedimom,

As this is only a div statement with no php in it your page would not vanish if this is all that was done...

What are you using as an editor?

Zen-Venom Get Bitten