Forums / Templates, Stylesheets, Page Layout / Sidebox header & Text don't match

Sidebox header & Text don't match

Locked

Views: 2,504

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
13 Sep 2006, 2:42 AM
#1
dizzie avatar

dizzie

Zen Follower

Join Date:
Jan 2006
Posts:
152
Plugin Contributions:
0

Sidebox header & Text don't match

How do I make my sidebox headers all the same height and how do I make all the sidebox text the same size?
In my stylesheet I have

.leftBoxHeading, .centerBoxHeading {
margin: 0em;
background-color: #ecd8d9;
background-image: url(../images/stitched2.jpg);
padding: 0.5em 0.2em;
}

and right is the exact same

.rightBoxHeading {
margin: 0em;
background-color: #ecd8d9;
background-image: url(../images/stitched2.jpg);
padding: 0.5em 0.2em;
}

but they don't match...some are shorter than the others and also the text is smaller in those shorter ones.

Thanks for the help!

13 Sep 2006, 2:46 AM
#2
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Sidebox header & Text don't match

URL for your site please.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

13 Sep 2006, 2:57 AM
#3
dizzie avatar

dizzie

Zen Follower

Join Date:
Jan 2006
Posts:
152
Plugin Contributions:
0

Re: Sidebox header & Text don't match

ok...finally found the text was 2 different sizes in;
h3.leftBoxHeading, h3.leftBoxHeading a {
font-size: 1.1em;
and
h3.rightBoxHeading, h3.rightBoxHeading a {
font-size: 1.1em;
color: #af6268;

But I still can't find where the headers size are...grrr

13 Sep 2006, 3:02 AM
#4
dizzie avatar

dizzie

Zen Follower

Join Date:
Jan 2006
Posts:
152
Plugin Contributions:
0

Re: Sidebox header & Text don't match

13 Sep 2006, 3:38 AM
#5
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Sidebox header & Text don't match

The "search" and "currency" headers include a <label> tag which is increasing the height of these two headings.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

13 Sep 2006, 3:53 AM
#6
dizzie avatar

dizzie

Zen Follower

Join Date:
Jan 2006
Posts:
152
Plugin Contributions:
0

Re: Sidebox header & Text don't match

how do I make the others match the search" and "currency" headers ?

13 Sep 2006, 5:05 AM
#7
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Sidebox header & Text don't match

You can remove the label tags in

includes -> modules -> sideboxes -> YOUR_TEMPLATE -> search.php

Do the same for the currencies.php

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

13 Sep 2006, 11:17 AM
#8
dizzie avatar

dizzie

Zen Follower

Join Date:
Jan 2006
Posts:
152
Plugin Contributions:
0

Re: Sidebox header & Text don't match

Ok, thanks, I did that and now they are all the same size.....Is there a place to change the height of all of them?

13 Sep 2006, 12:47 PM
#9
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Sidebox header & Text don't match

You can add a height element to:

.leftBoxHeading, .rightBoxHeading {
height: XXpx;
}

just change the area in red to whatever you need.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

13 Sep 2006, 3:30 PM
#10
dizzie avatar

dizzie

Zen Follower

Join Date:
Jan 2006
Posts:
152
Plugin Contributions:
0

Re: Sidebox header & Text don't match

Oh, thankyou sooo much...that worked Great!!

9 Oct 2006, 10:59 PM
#11
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

Re: Sidebox header & Text don't match

clydejones:

The "search" and "currency" headers include a <label> tag which is increasing the height of these two headings.

I am trying to fix this as well, but I can't find a label tag in the search sidebox file...

Danielle

9 Oct 2006, 11:18 PM
#12
dizzie avatar

dizzie

Zen Follower

Join Date:
Jan 2006
Posts:
152
Plugin Contributions:
0

Re: Sidebox header & Text don't match

look in includes/modules/sideboxs/search.php and it's in line 14
$title = '<label>' . BOX_HEADING_SEARCH . '</label>';

I changed it to the following and put it in includes/modules/sideboxes/MY CUSTOM TEMPLATE NAME/search.php

$title = BOX_HEADING_SEARCH;

9 Oct 2006, 11:25 PM
#13
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

Re: Sidebox header & Text don't match

Thanks! I wasn't looking in the modules folder :blush:

Danielle