Zen Cart Logo

invisible text

Locked

Views: 1,031

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
24 Apr 2008, 8:08 PM
#1
joe44 avatar

joe44

New Zenner

Join Date:
Apr 2008
Posts:
4
Plugin Contributions:
0

invisible text

hi....how do you make text invisible in tagline and shop name invisible...i loaded header with shop name already ..i am new so sorry if this sounds like dumb question are i listed it in wrong place........thank you for any help
:smile:

24 Apr 2008, 8:17 PM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: invisible text

Are you trying to remove the information in the top of the browser window?

Look in includes/languages/english/YOUR_TEMPLATE/meta_tags.php (I used the original file for the example) for

<?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: meta_tags.php 4273 2006-08-26 03:13:52Z drbyte $
 */

// page title
define('TITLE', 'Zen Cart!');

// Site Tagline
define('SITE_TAGLINE', 'The Art of E-commerce');

and change it to

<?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: meta_tags.php 4273 2006-08-26 03:13:52Z drbyte $
 */

// page title
define('TITLE', '');

// Site Tagline
define('SITE_TAGLINE', '');

The '' are two single quotes, not a double quote.

25 Apr 2008, 4:13 PM
#3
joe44 avatar

joe44

New Zenner

Join Date:
Apr 2008
Posts:
4
Plugin Contributions:
0

Re: invisible text

i didnt want to remove it from meta tag......i wanted to leave it there for search engine but wanted to know if you can turn text it self invisible..

25 Apr 2008, 4:39 PM
#4
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: invisible text

I can't think of any way to do that.

25 Apr 2008, 4:45 PM
#5
joe44 avatar

joe44

New Zenner

Join Date:
Apr 2008
Posts:
4
Plugin Contributions:
0

Re: invisible text

Method 2(b): Using "Visibility: Hidden" Style Commands

An alternative to the method above is to simply use the built in features of style sheets to hide your text:

.hideme {
visibility : hidden;
}............i just found this on web but way it make it sound like you might get booted from search engines.....maybe i should forget ideal.......thank you for your help:smile:

25 Apr 2008, 6:35 PM
#6
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: invisible text

The title and tagline displayed in your header and the metatags are two different things.

Look in /includes/languages/english/your_template/header.php for

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

You can change to
define('HEADER_SALES_TEXT', '');
and
define('HEADER_LOGO_IMAGE', 'pixel_trans.gif');

You can redefine the 'HEADER_ALT_TEXT' also.

The shop name is not displayed in the header; perhaps you were referring to the logo.