Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / search header and categories header

search header and categories header

Locked

Views: 2,232

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
11 Jul 2006, 2:51 PM
#1
kjharrison avatar

kjharrison

Zen Follower

Join Date:
Jun 2006
Location:
Providence
Posts:
137
Plugin Contributions:
0

search header and categories header

These two headers (Search and Categories) have different heights. I've searching the stylesheet to fine a way of getting them to be the same height with no luck. Can anyone point me in the right direction. You can find the web page at: http://www.seventhwindow.com/

11 Jul 2006, 3:40 PM
#2
wasana avatar

wasana

Zen Follower

Join Date:
Apr 2006
Location:
Chiang Mai
Posts:
203
Plugin Contributions:
0

Re: search header and categories header

similar/same question -

I have commented out stylesheet
.leftboxheading, .rightboxheading {
/height: 20px;/

and changed includes/language/english.php defines to remove sidebox header text. The other sideboxes I wanted the header to flatten out did, but not search sidebox. Is it possible that there is a hidden character in the search sidebox, or is there a separate css for it?

thnx

PS: quick edit - I bet the search sidebox header is defined in a php file - I'm going to look for it and let you know...

11 Jul 2006, 3:50 PM
#3
wasana avatar

wasana

Zen Follower

Join Date:
Apr 2006
Location:
Chiang Mai
Posts:
203
Plugin Contributions:
0

Re: search header and categories header

your problem is different sized fonts - not sure where in CSS it is but maybe if you increase the header height for the other sideboxes (which you can find I think) then it will look even.

11 Jul 2006, 11:30 PM
#4
kjharrison avatar

kjharrison

Zen Follower

Join Date:
Jun 2006
Location:
Providence
Posts:
137
Plugin Contributions:
0

Re: search header and categories header

wasana:

similar/same question -

I have commented out stylesheet
.leftboxheading, .rightboxheading {
/height: 20px;/

and changed includes/language/english.php defines to remove sidebox header text. The other sideboxes I wanted the header to flatten out did, but not search sidebox. Is it possible that there is a hidden character in the search sidebox, or is there a separate css for it?

thnx

If you go to the your web site and look at the code you'll find:

<h3 class="rightBoxHeading" id="searchHeading"><label>Search</label></h3>

It's the damn <label> tage that causes all the trouble. I foudn it in my style sheet mixed up with some other tags. Do a search in your stylesheet.css file and you'll find it. So I puled it out and did this to it:

LABEL { 
	font-size: 1em;
}

Now it looks better. Thanks for the help.

12 Jul 2006, 2:19 AM
#5
wasana avatar

wasana

Zen Follower

Join Date:
Apr 2006
Location:
Chiang Mai
Posts:
203
Plugin Contributions:
0

Re: search header and categories header

good find and advice - glad it worked for you

unfortunately for me, my stylesheet is such an abomination I don't have

<h3 class="rightBoxHeading" id="searchHeading"

but I'm still looking for something similar and/or other fixes

thanks

ZenCart CSS is evolving quickly - and there isn't as much uniformity between sites as there used to be - a good thing - but makes it tougher to find answers