Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Help Plz! How To Delete Store Name in the Header

Help Plz! How To Delete Store Name in the Header

Locked

Views: 739

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
6 Dec 2009, 5:33 PM
#1
t258jgn avatar

t258jgn

New Zenner

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

Help Plz! How To Delete Store Name in the Header

Can anyone tell me step by step how to delete the Store Name (white words) overlapping the Logo.

Shop website ( http://www.avgs.gresouth.com )

In my /includes/languages/english/header.php

// added defines for header alt and text
define('HEADER_ALT_TEXT', '');
define('HEADER_SALES_TEXT', '');
define('HEADER_LOGO_WIDTH', '192px');
define('HEADER_LOGO_HEIGHT', '64px');
define('HEADER_LOGO_IMAGE', 'store_logo.png');

In my /includes/templates/CUSTOM/css/stylesheet_new.css

.centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {float: left;}
#logo {float: left;}

#headerContent { background:#ffffff url('../images/store_logo.png') left center no-repeat;
padding:10px; }

#nameWrapper { padding:10px 0 10px 30px; }

#nameWrapper a, #nameWrapper a:visited {
font-size:40px;
text-decoration:none;
color:#fff;
font-weight:normal;}

#taglineWrapper {
font-size:20px;
padding:10px 0 10px 60px;
margin-top:-30px;
color:#fff; }

In my /includes/templates/CUSTOM/common/tpl_header.php

<!--bof-branding display--> <div id="headerContent"> <div id="nameWrapper"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . STORE_NAME . '</a>' ?></div> <?php if (HEADER_SALES_TEXT != '') { ?> <div id="taglineWrapper"><?php echo HEADER_SALES_TEXT ;?></div> <?php }?>

Thanks!

6 Dec 2009, 6:32 PM
#2
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Help Plz! How To Delete Store Name in the Header

t258jgn:

Can anyone tell me step by step how to delete the Store Name (white words) overlapping the Logo.

Shop website ( http://www.avgs.gresouth.com )

In my /includes/languages/english/header.php

In my /includes/templates/CUSTOM/css/stylesheet_new.css

In my /includes/templates/CUSTOM/common/tpl_header.php

Thanks!

Try deleting this line from /includes/templates/CUSTOM/common/tpl_header.php

<div id="nameWrapper"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . STORE_NAME . '</a>' ?></div>
7 Dec 2009, 2:42 AM
#3
t258jgn avatar

t258jgn

New Zenner

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

Re: Help Plz! How To Delete Store Name in the Header

clydejones:

Try deleting this line from /includes/templates/CUSTOM/common/tpl_header.php

<div id="nameWrapper"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . STORE_NAME . '</a>' ?></div>

Deleted that will cause the Header

7 Dec 2009, 3:19 AM
#4
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Help Plz! How To Delete Store Name in the Header

t258jgn:

Deleted that will cause the Header

open includes/templates/YOUR_TEMPLATE/css/stylesheet.css

find and make the highlighted change.

#headerContent {
background:#ffffff url('../images/store_logo.png') left center no-repeat;
padding:10px;
height:119px;
}

7 Dec 2009, 2:54 PM
#5
t258jgn avatar

t258jgn

New Zenner

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

Re: Help Plz! How To Delete Store Name in the Header

A BIG THANK YOU TO YOU :clap: