Results 1 to 9 of 9
  1. #1
    Join Date
    May 2009
    Posts
    7
    Plugin Contributions
    0

    Default 2 Underscores directly below my banner...??

    I've got two little dashes (maybe underscores from the code somewhere) directly under my banner. Can anyone point me to where I need to go to get rid of those?

    site url: http://funnyboneonline.com/zencart2


    Thanks!

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: 2 Underscores directly below my banner...??

    I'm seeing HEADER_SALES_TEXT under your header image (AKA 'tagline').

    https://www.zen-cart.com/tutorials/index.php?article=95

  3. #3
    Join Date
    May 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: 2 Underscores directly below my banner...??

    Thanks for the response. The tutorial isn't really helpful as it just says that you have to find the problem and fix it.

    Do you happen to know where that tagline can be found or replaced?

    thanks

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: 2 Underscores directly below my banner...??

    I don't know why that tutorial doesn't mention this, but go to Admin - Tools - Developers Tool Kit and search for HEADER_SALES_TEXT and you'll see that that's defined in includes/languages/english/classic/header.php

    You may have removed the single quote marks when you removed the text.

    This would also be a good time to create your CUSTOM template and folders.

  5. #5
    Join Date
    May 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: 2 Underscores directly below my banner...??

    Thanks. I've tried removing the quote and leaving the quotation marks, but with the same results. Here's the code as it stands:

    <?php
    /**
    * @package languageDefines
    * @copyright Copyright 2003-2005 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 2848 2006-01-14 09:47:08Z wilt $
    */

    // 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('', '');
    define('', '');
    define('HEADER_LOGO_WIDTH', '150px');
    define('HEADER_LOGO_HEIGHT', '50px');
    define('HEADER_LOGO_IMAGE', 'banner1.jpg');

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




    Any ideas? Is this maybe somewhere else?

    Thanks again!

  6. #6
    Join Date
    May 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: 2 Underscores directly below my banner...??

    ....also, my tpl_header.php code looks like this:

    <!--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>
    <?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?>
    <div id="taglineWrapper">
    <?php
    if (HEADER_SALES_TEXT != '') {
    ?>
    <div id="tagline"><?php echo HEADER_SALES_TEXT;?></div>
    <?php

  7. #7
    Join Date
    Mar 2006
    Location
    Fresno, California
    Posts
    620
    Plugin Contributions
    0

    Default Re: 2 Underscores directly below my banner...??

    You removed a little too much, should read like this:

    PHP Code:
    // added defines for header alt and text
      
    define('HEADER_ALT_TEXT''');
      
    define('HEADER_SALES_TEXT''');
      
    define('HEADER_LOGO_WIDTH''150px');
      
    define('HEADER_LOGO_HEIGHT''50x');
      
    define('HEADER_LOGO_IMAGE''banner1.jpg'); 

  8. #8
    Join Date
    May 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: 2 Underscores directly below my banner...??

    Thanks. I pasted the code back in, unfortunately, my issue still exists. Could it possibly be an issue with the second snipet of code I added above? It's from the tpl_header.php code.

    thanks!

  9. #9
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: 2 Underscores directly below my banner...??

    I would try deleting your template.php file and uploading a fresh copy to the 'classic' directory, and start over.

 

 

Similar Threads

  1. Remove white space below banner
    By Vega in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 22 Apr 2008, 11:08 PM
  2. Remove white space below banner
    By Vega in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 22 Apr 2008, 07:30 PM
  3. Editing tagline text below banner
    By Shadow in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 9 Aug 2007, 04:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg