Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Subcategories and Padding/Margin

Subcategories and Padding/Margin

Locked

Views: 1,267

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
15 Jan 2009, 6:09 PM
#1
kathie avatar

kathie

New Zenner

Join Date:
Mar 2007
Posts:
31
Plugin Contributions:
0

Subcategories and Padding/Margin

Hi, I am having two difficulties (and I'm sure more to follow as I set more of my cart up!). My first problem is that I want the subcategories to show as links on the top category page and they are not showing. I have gone into the admin panel and under config-layout settings, i have enabled categories-always show on main page and somewhere along the way i must have changed something in the style sheet that i shouldn't have because enabling this option turns on the greeting on the main page - so something that it shouldn't be doing.

What I am after is, for example, on my "healing" page, I want links to the acne and dry skin products page to appear in that white space in the middle of the screen.

Second issue - in my sideboxes that contain images (I just have placeholders there now until I get further in setting up the website), they are aligned to the right of the box. I have changed each setting for alignment, padding and margins one by one in the style sheet to see it would change the alignment and bring them over to the left or at least the center - either would be better than the right alignment - but i have not been able to effect a change in the alignment.

Can anyone help me????? My cart is at: http://sparkleandshine.ca/catalog/ TIA :)

15 Jan 2009, 6:36 PM
#2
gjh42 avatar

gjh42

Black Belt

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

Re: Subcategories and Padding/Margin

Remove the padding here:```
.leftBoxContainer a:link, .leftBoxContainer a:visited, .rightBoxContainer a:link, .rightBoxContainer a:visited {
color: #8b90d7;
text-decoration: none;
font-size: 12px;
padding-left: 14px;
line-height: 18px;
}

.leftBoxContainer a:link, .leftBoxContainer a:visited, .rightBoxContainer a:link, .rightBoxContainer a:visited {
color: #8b90d7;
text-decoration: none;
font-size: 12px;
padding-left: 0px;
line-height: 18px;
}

15 Jan 2009, 7:21 PM
#3
kathie avatar

kathie

New Zenner

Join Date:
Mar 2007
Posts:
31
Plugin Contributions:
0

Re: Subcategories and Padding/Margin

gjh42:

Remove the padding here:```
.leftBoxContainer a:link, .leftBoxContainer a:visited, .rightBoxContainer a:link, .rightBoxContainer a:visited {
color: #8b90d7;
text-decoration: none;
font-size: 12px;
padding-left: 14px;
line-height: 18px;
}

.leftBoxContainer a:link, .leftBoxContainer a:visited, .rightBoxContainer a:link, .rightBoxContainer a:visited {
color: #8b90d7;
text-decoration: none;
font-size: 12px;
padding-left: 0px;
line-height: 18px;
}



Thank you, Glen :)  I changed the 14 px listed above in your quote to 0 and nothing.  I'm starting to think I've changed something I shouldn't have in the style sheet or I'm using a template with one too many bugs in it.
15 Jan 2009, 7:34 PM
#4
gjh42 avatar

gjh42

Black Belt

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

Re: Subcategories and Padding/Margin

It worked when I tested it on your site...

15 Jan 2009, 7:38 PM
#5
kathie avatar

kathie

New Zenner

Join Date:
Mar 2007
Posts:
31
Plugin Contributions:
0

Re: Subcategories and Padding/Margin

did you only change the 14 to 0 or did you change more than one value? and thank you so much for taking this time with me :)

15 Jan 2009, 7:50 PM
#6
gjh42 avatar

gjh42

Black Belt

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

Re: Subcategories and Padding/Margin

I just tested it again, changing the 14 to 0, and nothing else.