If this is your first visit, check our documentation. To post, register or login.

Header Image

Locked

Started by bnbsports on 15 May 2008, 10:01 PM · Views: 3,574

Results 1 to 20 of 22
This thread is locked. New replies are disabled.
15 May 2008, 10:01 PM
#1
bnbsports avatar

bnbsports

New Zenner

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

Post #1 by bnbsports

I am trying to put up my own image at the top part of my page. Currently I have an image as my tagline. But I can't get rid of the period I have on there. Any suggestions?

https://www.bnbsoccer.com is the link

16 May 2008, 12:59 AM
#2
kobra avatar

kobra

Black Belt

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

Post #2 by kobra

You have the period in the lang file /includes/languages/english/meta_tags.php
or maybe your override file

define('SITE_TAGLINE', '.');

Zen-Venom Get Bitten

16 May 2008, 4:09 AM
#3
bnbsports avatar

bnbsports

New Zenner

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

Post #3 by bnbsports

I know I have that there. Whenever I delete it, it removes my whole image from the page. I want the image up there without the period. I've seen people say they have put the image in the ezpagestop file. I've tried that and nothing happend. I've tried to put it in the header.php file and nothing happend. Any ideas?

16 May 2008, 2:20 PM
#4
kobra avatar

kobra

Black Belt

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

Post #4 by kobra

Place your image as a background image to #logoWrapper

Zen-Venom Get Bitten

20 May 2008, 5:37 AM
#5
bnbsports avatar

bnbsports

New Zenner

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

Post #5 by bnbsports

how should the code look?

the only #logoWrapper i see is in the

#headerWrapper, #contentMainWrapper, #logoWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
margin: 0em;
padding: 0em;
}

should i make a new row for the #logoWrapper or how should i put the coding to add my background into it?

20 May 2008, 2:19 PM
#6
kobra avatar

kobra

Black Belt

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

Post #6 by kobra

In the template copy of tpl_header.php I would insert your flash
Here is that part of the file for one that also uses a logo that is left aligned which you do not so adjust as required:

<div id="headerWrapper">

<!--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="flashcontent">    
        <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"        
        <param name="movie" value="header.swf">
        <param name="bgcolor" value="#FFFFFF">
        <param name="quality" value="high">
        <param name="wmode" value="transparent">
        <param name="allowscriptaccess" value="samedomain">

        <embed
          type="application/x-shockwave-flash"
          pluginspage="http://www.macromedia.com/go/getflashplayer"
          name="flashcontent"
          width="600" height="104"
          src="includes/templates/cottage/images/header.swf"
          bgcolor="#FFFFFF"
          quality="high"
          wmode="transparent"
          swliveconnect="true"
          allowscriptaccess="samedomain"
          <noembed>
          </noembed>
        </embed></object>
    </div>
<?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?>

Zen-Venom Get Bitten

20 May 2008, 8:35 PM
#7
bnbsports avatar

bnbsports

New Zenner

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

Post #7 by bnbsports

I'im not wanting to put a flash in it. Just an image. Is that how it is at anytime?

20 May 2008, 11:39 PM
#8
kobra avatar

kobra

Black Belt

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

Post #8 by kobra

OPPS!!! I must have crossed posted this - Oh well some one else might see their answer here???

For you BnBSports: Find and

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

Zen-Venom Get Bitten

28 May 2008, 3:55 PM
#9
bnbsports avatar

bnbsports

New Zenner

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

Post #9 by bnbsports

Ok. on my header image, I have this little dash on there. I think it's the logo image but I don't know how to get rid of it. I've tried a couple of folders and removed the header image and nothing works. Where do I need to get to get rid of it?

https://www.bnbsoccer.com

29 May 2008, 3:20 AM
#10
kobra avatar

kobra

Black Belt

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

Post #10 by kobra

Do you have this file in this location?
includes/languages/english/custombnb/header.php

Zen-Venom Get Bitten

1 Jun 2008, 6:08 AM
#11
bnbsports avatar

bnbsports

New Zenner

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

Post #11 by bnbsports

I have that file location, but nothing for a logo image. I have just a blank under the header alt text and header sales text.

1 Jun 2008, 7:09 AM
#12
kobra avatar

kobra

Black Belt

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

Post #12 by kobra

I have just a blank under the header alt text and header sales text.
Where did you edit this to be "blank"

Zen-Venom Get Bitten

1 Jun 2008, 7:13 AM
#13
bnbsports avatar

bnbsports

New Zenner

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

Post #13 by bnbsports

This is what I have

This is in the domains/bnbsoccer.com/html/includes/languages/english/custombnb/header.php file

<?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',' '); define('HEADER_SALES_TEXT', ' '); // header Search Button/Box Search Button define('HEADER_SEARCH_BUTTON','Search'); define('HEADER_SEARCH_DEFAULT_TEXT', 'Enter search keywords here'); ?>
1 Jun 2008, 8:39 AM
#14
kobra avatar

kobra

Black Belt

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

Post #14 by kobra

What happened to the rest of this file???

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

Change to:

// added defines for header alt and text

  define('HEADER_ALT_TEXT', '');
  define('HEADER_SALES_TEXT', '');
  define('HEADER_LOGO_WIDTH', '');
  define('HEADER_LOGO_HEIGHT', '');
  define('HEADER_LOGO_IMAGE', '');

Zen-Venom Get Bitten

1 Jun 2008, 4:11 PM
#15
bnbsports avatar

bnbsports

New Zenner

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

Post #15 by bnbsports

Ok. This is what I have now and it didn't change anything. I still have a line in my header picture.

<?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',' '); 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 Jun 2008, 10:28 PM
#16
kobra avatar

kobra

Black Belt

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

Post #16 by kobra

Not sure but you have this background in 2 places in your css - I would remove it from the tagline entry

#tagline {
	color:transparent;
	font-size: 10em;
	text-align : left;
	vertical-align: middle;
        background-image: url(../images/mak10.jpg);
	}

#logoWrapper {
	background-image: url(../images/mak10.jpg);
	background-repeat: no-repeat;
	background-color: #ffffff;
	height: 150px;
	}

Zen-Venom Get Bitten

2 Jun 2008, 6:16 AM
#17
bnbsports avatar

bnbsports

New Zenner

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

Post #17 by bnbsports

That dash thing was only just a border I put on the logo. Thanks though

3 Jun 2008, 6:43 PM
#18
bnbsports avatar

bnbsports

New Zenner

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

Post #18 by bnbsports

When i open up the page in explorer there is an x where that dash used to be. How do i get rid of that?

3 Jun 2008, 6:56 PM
#19
kobra avatar

kobra

Black Belt

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

Post #19 by kobra

What is in your /includes/languages/english/your_template/header.php file for

 define('HEADER_LOGO_IMAGE', 'logo.gif');

make it

 define('HEADER_LOGO_IMAGE', '');

Zen-Venom Get Bitten

3 Jun 2008, 7:02 PM
#20
bnbsports avatar

bnbsports

New Zenner

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

Post #20 by bnbsports

This is the whole file in the header.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',''); 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'); ?>