Forums / Templates, Stylesheets, Page Layout / Removing Tagline Completely

Removing Tagline Completely

Locked

Views: 2,270

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
28 Feb 2009, 6:07 PM
#1
bizshop1 avatar

bizshop1

New Zenner

Join Date:
Feb 2009
Posts:
9
Plugin Contributions:
0

Removing Tagline Completely

I'm using Zen Cart 1.3.8a. I've found how to change the TagLine text just fine. What I want though is to eliminate or collapse that entire section, along with the categories listing underneath. This will bring all the columns up flush with the HOME LOGIN top bar. I can put navigation in the left column then. I searched as best I could and didn't find this answered.

28 Feb 2009, 6:34 PM
#2
kobra avatar

kobra

Black Belt

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

Re: Removing Tagline Completely

In /includes/languages/english/header.php make a copy for your template and find

define('HEADER_SALES_TEXT', 'TagLine Here');

Make it this

define('HEADER_SALES_TEXT', '');

NOTE: retain the single quotes

Zen-Venom Get Bitten

28 Feb 2009, 6:59 PM
#4
bizshop1 avatar

bizshop1

New Zenner

Join Date:
Feb 2009
Posts:
9
Plugin Contributions:
0

Re: Removing Tagline Completely

Kobra I tried that - and while it now makes that text blank - it does not collapse the space. I also want to eliminate the categories line beneath.

In other words, I want the left column to go all the way up to the Top Bar (the one that says Home Login in the default template.

Gjh42 - works, I think I might need to play with margins or something because there is still a gap on both left and right columns (and probably center too but that is white so I can't see it.

28 Feb 2009, 7:01 PM
#5
kobra avatar

kobra

Black Belt

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

Re: Removing Tagline Completely

Give a link to what you have

Zen-Venom Get Bitten

28 Feb 2009, 7:15 PM
#6
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Removing Tagline Completely

locate tagline in stylesheet and add this

display:none;

28 Feb 2009, 7:23 PM
#7
bizshop1 avatar

bizshop1

New Zenner

Join Date:
Feb 2009
Posts:
9
Plugin Contributions:
0

Re: Removing Tagline Completely

Thanks for the suggestions so far. Here is a link to my (very rough still) page:

http://bizshop.com/zencart/index.php?main_page=index&cPath=1_16

You can see that the banner box on the left and the search box on the right are below a white space. I'd like to have them flush against the maroon top bar.

28 Feb 2009, 7:48 PM
#8
gjh42 avatar

gjh42

Black Belt

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

Re: Removing Tagline Completely

There are a couple of things that are causing this.
The sideboxes all have a margin-top, and there is a <br class="clearBoth" /> in the header that makes a space.

Find in your stylesheet```
.leftBoxContainer, .rightBoxContainer {
margin: 0em;
border: 1px solid #9a9a9a;
border-bottom: 5px solid #336633;
margin-top: 1.5em;
}

Remove the margin-top, and add a new rule:

.leftBoxContainer, .rightBoxContainer {
margin: 0em;
border: 1px solid #9a9a9a;
border-bottom: 5px solid #336633;
}

#logoWrapper+.clearBoth {display: none;}

28 Feb 2009, 9:16 PM
#9
bizshop1 avatar

bizshop1

New Zenner

Join Date:
Feb 2009
Posts:
9
Plugin Contributions:
0

Re: Removing Tagline Completely

Great, thank you very much!:clap:

2 Mar 2009, 5:15 PM
#10
helensama avatar

helensama

New Zenner

Join Date:
Dec 2006
Location:
Northwest Connecticut
Posts:
87
Plugin Contributions:
0

Re: Removing Tagline Completely

Hi,

I have this same problem, I found this string of posts and it has been helpful, I added this --- #logoWrapper+.clearBoth {display: none;} to stylesheet.css and I edited header.php.... both helped but I still have the space. Here is the site I am working on --- http://peterfasano.com/zen

What else do I need to edit or change....it sounds like you were able to get rid of the space completely

Thanks, Helen

3 Mar 2009, 7:34 PM
#11
kobra avatar

kobra

Black Belt

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

Re: Removing Tagline Completely

HelenSama,

Why is your image/logo 2 images?

Zen-Venom Get Bitten