Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / [Beginer] Header Help - can't work out the css

[Beginer] Header Help - can't work out the css

Locked

Views: 617

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
6 Aug 2009, 4:27 PM
#1
redpanda avatar

redpanda

New Zenner

Join Date:
Aug 2009
Posts:
59
Plugin Contributions:
0

[Beginer] Header Help - can't work out the css

Hi again....

I have been working on the header and i am getting there but.... doesn't there always seem to be a but.... i am having a few problems.

  1. I am trying to display a 199px high header image but it is only displaying about half of it and i can't find the CSS to fix it.

  2. At the end of the EZ Pages (i think) links there is a little extra space on the right that i would love to get rid off. It's as if it wants to add another link.

  3. Under the EZ pages (i think thats what they are called) There is a large gap before the main page content starts.

Even help on just one of these would be great. These forums have been so amazing so far and i'm just learning

Thank you in advance for any and all help.:smile:

6 Aug 2009, 4:36 PM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: [Beginer] Header Help - can't work out the css

You really should take a look in the Tutorials/FAQ (link at top of forum).

The size of the logo is controlled in includes/languages/english/YOUR_TEMPLATE/header.php

  define('HEADER_LOGO_WIDTH', '192px');
  define('HEADER_LOGO_HEIGHT', '64px');

I'd have to look at the site again to figure out what your other questions mean. I don't have the time just now tho. :(

6 Aug 2009, 4:37 PM
#3
stevesh avatar

stevesh

Black Belt

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

Re: [Beginer] Header Help - can't work out the css

It would really help if we could see a link to your site.

6 Aug 2009, 4:38 PM
#4
redpanda avatar

redpanda

New Zenner

Join Date:
Aug 2009
Posts:
59
Plugin Contributions:
0

Re: [Beginer] Header Help - can't work out the css

Thank heaps mate, don't worry about the rest i'm thankful that you helped even with one of them, thanks again.

6 Aug 2009, 4:39 PM
#5
redpanda avatar

redpanda

New Zenner

Join Date:
Aug 2009
Posts:
59
Plugin Contributions:
0

Re: [Beginer] Header Help - can't work out the css

Whooops. sorry

site is http://www.ozresort.com.au/

2am in the morning i think my i might be loosing it a little bit,

6 Aug 2009, 4:50 PM
#6
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: [Beginer] Header Help - can't work out the css

redpanda:

Whooops. sorry

site is http://www.ozresort.com.au/

2am in the morning i think my i might be loosing it a little bit,

2am? GO TO BED! :laugh: I know this is addictive, but you'll be less fuzzy after some sleep.

6 Aug 2009, 4:53 PM
#7
redpanda avatar

redpanda

New Zenner

Join Date:
Aug 2009
Posts:
59
Plugin Contributions:
0

Re: [Beginer] Header Help - can't work out the css

Haha, i know, i keep saying just one last thing, but now that the tele comercials have started i think your night and will call it a night after these few last things.

6 Aug 2009, 5:00 PM
#8
stevesh avatar

stevesh

Black Belt

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

Re: [Beginer] Header Help - can't work out the css

You have two #logoWrapper statements fighting each other:

#logoWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #popupAdditionalImage, #popupImage {
margin: 0em;
padding: 0em;
max-height: 66px;
min-height: 25px;
height: 66px;
}

and

*#logoWrapper{
background-image: url(../images/header_bg.jpg);/
/
background-repeat: repeat-x; /
background-color: #ffffff;
/
height:75px; /
height:199px;
}

6 Aug 2009, 5:10 PM
#9
janissaire avatar

janissaire

Zen Follower

Join Date:
Sep 2008
Location:
Toronto, Ontario, Canada
Posts:
474
Plugin Contributions:
0

Re: [Beginer] Header Help - can't work out the css

check out my post too

http://www.zen-cart.com/forum/showthread.php?t=130792

tells you the two files you need to do.

6 Aug 2009, 7:07 PM
#10
jimmyv avatar

jimmyv

Zen Follower

Join Date:
Feb 2008
Location:
Philadelphia
Posts:
292
Plugin Contributions:
2

Re: [Beginer] Header Help - can't work out the css

use firefox webdeveloper. It allows you to highlight the area in question and easily fix any formatting issues