Forums / Templates, Stylesheets, Page Layout / Removed header but empty space remains...please advise

Removed header but empty space remains...please advise

Locked

Views: 1,607

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
13 Jul 2008, 5:04 AM
#1
tanglada avatar

tanglada

New Zenner

Join Date:
Jul 2008
Posts:
7
Plugin Contributions:
0

Removed header but empty space remains...please advise

HI all,
I removed the header and logo but now I have empty white space there instead. I want to remove this white space. Any help would be appreciated.
Thanks!

13 Jul 2008, 5:13 AM
#2
kobra avatar

kobra

Black Belt

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

Re: Removed header but empty space remains...please advise

Post a link to your site so we can see what you are or are not doing

Zen-Venom Get Bitten

13 Jul 2008, 5:37 PM
#3
tanglada avatar

tanglada

New Zenner

Join Date:
Jul 2008
Posts:
7
Plugin Contributions:
0

Re: Removed header but empty space remains...please advise

Sorry about that. Here is a link:
http://bpchildren.org/store/

As you can see, I'm using the banner at the top of the page and I don't want an additional area for a logo. I managed to get the writing and pic off but the white area remains.

I have now read throught most of the faq's and I just got the ebook. I'm sure I will find that I did a few things wrong in the set up because I did quite a bit of "playing" but this white space is really annoying me!

Thanks for putting up with a newbie!
Tracy

13 Jul 2008, 5:51 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Removed header but empty space remains...please advise

First, before you do anything else, go here
https://www.zen-cart.com/tutorials/index.php?article=142 and create your own template.

Then find **#logowrapper **in includes/templates/YOUR_TEMPLATE/css/stylesheet.css and set the height to 0px or add display:none;

13 Jul 2008, 6:38 PM
#5
tanglada avatar

tanglada

New Zenner

Join Date:
Jul 2008
Posts:
7
Plugin Contributions:
0

Re: Removed header but empty space remains...please advise

Wow,
Okay, I followed those instructions and it completely changed the look of my site. So I guess all the changes I made the other way were wrong. :cry:

Please tell me I'm on the right track now! Is it true that I should only make changes in my new template and or the admin panel and nowhere else?

Thanks,
Tracy

13 Jul 2008, 7:40 PM
#6
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Removed header but empty space remains...please advise

What you're seeing now is the default_template, which suggests that you haven't copied the files from includes/templates/classic/css to includes/templates/mystore/css

13 Jul 2008, 7:50 PM
#7
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Removed header but empty space remains...please advise

The 7 minute rule got me -

What you're seeing now is the default_template, which suggests that you haven't copied the files from includes/templates/classic/css to includes/templates/mystore/css

You're on the right track. Once you have the 'classic' css file in your template, do the #logowrapper thing.

Here's the idea. When Zencart creates the pages your customers see, the first thing it does is look to see what template you've selected in Admin (in your case, mystore).

Then, as it creates the various pages, it looks in your override folders (all named mystore), if any, to see if you want to do something other than the default behavior.

If you have a stylesheet.css in your includes/templates/mystore/css folder, Zencart will use that to style your cart. If you don't, it will use the stylesheet.css file in includes/templates/template_default/css folder.

Easy, once you get the idea.

The 'classic' template is just an example template the developers provide to show you how the overrides folders work.

14 Jul 2008, 12:08 AM
#8
tanglada avatar

tanglada

New Zenner

Join Date:
Jul 2008
Posts:
7
Plugin Contributions:
0

Re: Removed header but empty space remains...please advise

That did the trick! The old look is back and the white space is gone.
Thank you!!:clap:
Tracy