Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How to remove banner_box header??

How to remove banner_box header??

Locked

Views: 2,038

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
5 May 2008, 11:08 AM
#1
user2345 avatar

user2345

New Zenner

Join Date:
May 2008
Posts:
13
Plugin Contributions:
0

How to remove banner_box header??

I have searched and tried for hours but still cant find a solution for my little problem.

I made a copy of banner_box.php and enabled via box layout boxes controlled.
The reason is to have a banner box without borders and header.

I managed to disable borders via stylsheet_new.css but cant get rid of the header.
Any tips?

Attached a screen shot.

15 May 2008, 3:17 PM
#2
awhite avatar

awhite

New Zenner

Join Date:
Jun 2007
Posts:
21
Plugin Contributions:
0

Re: How to remove banner_box header??

Hi,

You need to go into the style sheet and find #bannerboxHeading - my was on line 776 (just to give a general idea where it might be)

Once you find it just add this to the style: display: none;

So in your style sheet it will look like this:

#bannerboxHeading {
display: none;
}

Hope that helps.

17 May 2008, 6:56 AM
#3
user2345 avatar

user2345

New Zenner

Join Date:
May 2008
Posts:
13
Plugin Contributions:
0

Re: How to remove banner_box header??

thanks, but that will disable all the headers and i dont want that.
i want to disable the header for the new created box.

5 Jun 2008, 10:25 PM
#4
shokuf avatar

shokuf

New Zenner

Join Date:
Feb 2008
Posts:
56
Plugin Contributions:
0

Re: How to remove banner_box header??

I did that dispalay: none in the CSS exactly as you have it. Do you know why it's not working on mine?
http://www.aircorpsdepot.com/store2/

5 Jun 2008, 11:22 PM
#5
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

Re: How to remove banner_box header??

SHokuf:

I did that dispalay: none in the CSS exactly as you have it. Do you know why it's not working on mine?
http://www.aircorpsdepot.com/store2/

The top images are not displaying as you've set, do you mean you want also the white text not to appear? You can define this in includes/languages/english.php and save to your overide folder, or edit the one in your overide folder if you have one already, just change:

 // banner box 2
  define('BOX_HEADING_BANNER_BOX2','Have you seen ...');
  define('TEXT_BANNER_BOX2','Check this out today!');

// banner_box - all
  define('BOX_HEADING_BANNER_BOX_ALL','Sponsors');
  define('TEXT_BANNER_BOX_ALL','Please Visit Our Sponsors ...');
```to:

// banner box 2
define('BOX_HEADING_BANNER_BOX2','');
define('TEXT_BANNER_BOX2','Check this out today!');

// banner_box - all
define('BOX_HEADING_BANNER_BOX_ALL','');
define('TEXT_BANNER_BOX_ALL','Please Visit Our Sponsors ...');

5 Jun 2008, 11:31 PM
#6
shokuf avatar

shokuf

New Zenner

Join Date:
Feb 2008
Posts:
56
Plugin Contributions:
0

Re: How to remove banner_box header??

Thanks.
But won't there still be space there where the header is supposed to be?

5 Jun 2008, 11:59 PM
#7
shokuf avatar

shokuf

New Zenner

Join Date:
Feb 2008
Posts:
56
Plugin Contributions:
0

Re: How to remove banner_box header??

Sorry, should have tried before I asked the question. Didn't think it was that easy.
OK. Thanks!

6 Jun 2008, 12:08 AM
#8
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

Re: How to remove banner_box header??

You're welcome :D