Forums / Templates, Stylesheets, Page Layout / CenterBoxHeading -- how to vertically align (center) font

CenterBoxHeading -- how to vertically align (center) font

Started by thumper300zx on 18 Mar 2013, 10:37 PM · Views: 864

Results 1 to 4 of 4
18 Mar 2013, 10:37 PM
#1
thumper300zx avatar

thumper300zx

New Zenner

Join Date:
Mar 2013
Posts:
8
Plugin Contributions:
0

CenterBoxHeading -- how to vertically align (center) font

If you visit my site:

shop.frogolf.com

I'm trying to figure out how to center the fonts in the CenterBoxHeading (eg. New Products For March). I have the Emeralda theme. I have a 'stock' copy of this theme to compare side by side at stock.frogolf.com

I've tried many things like vertical align, padding, line height, etc. Just need to bump that font up a bit to center it. Appreciate the help -- have already learned a ton of things reading through old threads and from my first answer to a thread yesterday. (PS, I made sure everything in my code was validated before asking this one :cool:)

So far I've messed with the actual font type, size, centering, columns, changed background image, updated logos. Once I have the layout I'm looking for I'll update all the sample product and get this thing going. Hoping to have a working store by the end of the week.

18 Mar 2013, 10:48 PM
#2
thumper300zx avatar

thumper300zx

New Zenner

Join Date:
Mar 2013
Posts:
8
Plugin Contributions:
0

Re: CenterBoxHeading -- how to vertically align (center) font

Figured it out -- padding I had to adjust was in:

.leftBoxHeading, .centerBoxHeading, .rightBoxHeading {
}

Bumped the top down a bit, and added specific entry for bottom. Now centered (anyone wanting to compare position can compare my two sites now to see the difference). Hope to have both sites up indefinitely for reference.

18 Mar 2013, 11:38 PM
#3
thumper300zx avatar

thumper300zx

New Zenner

Join Date:
Mar 2013
Posts:
8
Plugin Contributions:
0

Re: CenterBoxHeading -- how to vertically align (center) font

Gah -- I thought I had this figured out -- but now, I'm having trouble shifting the text within the navigation bar (top section) and side bar (left side headers)

Any help appreciated.

19 Mar 2013, 1:41 AM
#4
thumper300zx avatar

thumper300zx

New Zenner

Join Date:
Mar 2013
Posts:
8
Plugin Contributions:
0

Re: CenterBoxHeading -- how to vertically align (center) font

Now have that one figured out -- have to adjust line height in:

#header_bar{
}