Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Simple question - turn off top banner?

Simple question - turn off top banner?

Locked

Views: 2,145

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
5 Mar 2008, 6:33 PM
#1
roger06 avatar

roger06

New Zenner

Join Date:
Jan 2008
Posts:
51
Plugin Contributions:
0

Simple question - turn off top banner?

Hi

This is bugging me as I did it yesterday !!!

How do you turn off the very top banner ( the one above the logo that has the 'home' and 'log in' options by default) ?

I'm assuming it's in the Configuration / Layout Settings area but I can't find it !!!:blush::blush::blush:

Thanks

5 Mar 2008, 7:10 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Simple question - turn off top banner?

roger06:

I'm assuming it's in the Configuration / Layout Settings area but I can't find it !!!Yes: Banner Display Groups - Header Position 1 ... set it to blank.

5 Mar 2008, 7:38 PM
#3
roger06 avatar

roger06

New Zenner

Join Date:
Jan 2008
Posts:
51
Plugin Contributions:
0

Re: Simple question - turn off top banner?

DrByte:

Yes: Banner Display Groups - Header Position 1 ... set it to blank.

Hmm - all the Headers are set to blank but it still shows - any other ideas?

5 Mar 2008, 7:43 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Simple question - turn off top banner?

roger06:

Hmm - all the Headers are set to blank but it still shows - any other ideas?

Then you must be using some sort of template customization that has changed the default operation of Zen Cart.

Compare your custom template's tpl_main_page.php file vs the original template_default version of it before any customizations were made.

6 Mar 2008, 3:02 PM
#5
roger06 avatar

roger06

New Zenner

Join Date:
Jan 2008
Posts:
51
Plugin Contributions:
0

Re: Simple question - turn off top banner?

DrByte:

Then you must be using some sort of template customization that has changed the default operation of Zen Cart.

Compare your custom template's tpl_main_page.php file vs the original template_default version of it before any customizations were made.

Thanks for that

I don't seem to have a tpl_main_page.php file in my custom template at all. There are several in sub folders in the default_template so should I copy one over ? If so - which ? the one in default_template/common ?/

Thanks

6 Mar 2008, 6:52 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Simple question - turn off top banner?

Do you have a custom tpl_header.php file? Maybe that's where it is.

What's the URL where this is happening?

6 Mar 2008, 7:50 PM
#7
roger06 avatar

roger06

New Zenner

Join Date:
Jan 2008
Posts:
51
Plugin Contributions:
0

Re: Simple question - turn off top banner?

DrByte:

Do you have a custom tpl_header.php file? Maybe that's where it is.

What's the URL where this is happening?

Hi

Yes I have this file - have tried moving the one from the default template and the original into my template as well as restoring the original one in the default template but still no joy.

I've resorted to adding a display: none; in the CSS to #navMainWrapper, #navSuppWrapper, #navCatTabsWrapper but that's not a great solution.

What am I looking for ?

site is running locally at present...

6 Mar 2008, 10:25 PM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Simple question - turn off top banner?

First, you said it was working fine "before" ... what did you change?
Do you keep backups regularly so you can undo things?

What is the generated HTML around the banner that's showing where you don't want it? From several lines above it until several below it.
Then locate the related DIVs and other HTML pieces in your template files, and find what code is used to trigger the banner display. Then figure out what switch controls that.