Forums / Templates, Stylesheets, Page Layout / Spacing and Font Styles in Sub-Categories

Spacing and Font Styles in Sub-Categories

Locked

Views: 1,217

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
14 Apr 2007, 9:46 PM
#1
mudcreek avatar

mudcreek

New Zenner

Join Date:
Aug 2006
Posts:
19
Plugin Contributions:
0

Spacing and Font Styles in Sub-Categories

Hey Everyone,

I've been hurting myself trying to find hwere and how to add vertical spacing betweem my sub-cat images and titles as well as how to make the font titles bold.

Here's a link to my problem. Thanks in advance.

Muddy
Zen Cart 1.3.0.1

16 Apr 2007, 2:28 PM
#3
mudcreek avatar

mudcreek

New Zenner

Join Date:
Aug 2006
Posts:
19
Plugin Contributions:
0

Re: Spacing and Font Styles in Sub-Categories

Does anyone know any way to do this?

16 Apr 2007, 7:32 PM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Spacing and Font Styles in Sub-Categories

For some reason I don't understand, styling .categoryListBoxContents in your stylesheet_books.css works fine, though it doesn't work at all in your main stylesheet, even at the very end of it.

There is no reference to .categoryListBoxContents in stylesheet_books.css to override a reference in stylesheet.css.

Likewise, a basic declaration at the bottom of stylesheet.css like this

#mainWrapper { background-color: blue;}

has no effect, but turns the background blue when put at the top of stylesheet_books.css.

I dunno what's going on...

18 Apr 2007, 6:04 PM
#5
mudcreek avatar

mudcreek

New Zenner

Join Date:
Aug 2006
Posts:
19
Plugin Contributions:
0

Re: Spacing and Font Styles in Sub-Categories

Does anyone else know anything that might help?

18 Apr 2007, 9:00 PM
#6
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Spacing and Font Styles in Sub-Categories

You can get the styling you asked for by putting it in stylesheet_books.css, I just don't know why it doesn't work in stylesheet.css

18 Apr 2007, 9:09 PM
#7
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Spacing and Font Styles in Sub-Categories

Add this anywhere in your stylesheet_books.css:

.categoryListBoxContents {
    padding-bottom: 2em; 
    font-weight: bold;
    }
19 Apr 2007, 4:32 AM
#8
mudcreek avatar

mudcreek

New Zenner

Join Date:
Aug 2006
Posts:
19
Plugin Contributions:
0

Re: Spacing and Font Styles in Sub-Categories

Much better! Thank you so much!

Take Care

Muddy