Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Centering Subcatagory images in one row

Centering Subcatagory images in one row

Locked

Views: 992

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
4 Jul 2008, 3:03 AM
#1
lilryansd avatar

lilryansd

New Zenner

Join Date:
Jun 2008
Posts:
14
Plugin Contributions:
0

Centering Subcatagory images in one row

Please I have looked and tried many differant sugestions on this board but I still can not find a solution.

I made my images in the sub-catagory section bigger now they are over lapping. I want them to line up in one horizontal row.

click here---->http://myshoeroom.com/index.php?main_page=index&cPath=1

I have tried in all the differant parts of the admin I have set all the values to 1 and still no change. I have read that it is in the stylesheet.css I have tried a few changes in there but no luck. I am useing the latest version of vencart and the default_template.

Also I would like my products in the catagories to display like the products in the new product section.

click here---->catagory section

click here---->
new product section

I like the white line in between the products and the way the info is laid out.

Can anybody help out there....

Thank you kindly for your time

4 Jul 2008, 3:40 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Centering Subcatagory images in one row

The std template is 750px wide with left & right set to 150px and your images are 175 px each

so add this up and you have 150+150=300 then 750-300=450 available for the center

175 each pic X 3=525 - - 525-450=75px shy

try setting this in the style sheet and see what you see

#mainWrapper {
	background-color: #000000;
	text-align: left;
	width: 900px;
	vertical-align: top;
	border: 1px solid #9a9a9a;
	}
4 Jul 2008, 4:38 AM
#3
lilryansd avatar

lilryansd

New Zenner

Join Date:
Jun 2008
Posts:
14
Plugin Contributions:
0

Re: Centering Subcatagory images in one row

thank you for the reply I tried this but id did not work any other suggestions

4 Jul 2008, 5:16 AM
#4
lilryansd avatar

lilryansd

New Zenner

Join Date:
Jun 2008
Posts:
14
Plugin Contributions:
0

Re: Centering Subcatagory images in one row

This code did put a space between them thank you. but do you know how to make them line up horizontal not vertical?

Thank you

4 Jul 2008, 6:44 AM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Centering Subcatagory images in one row

Checking in both Firefox and IE6 they are horizontal??

What are you seeing this in?

Note: always design tn the most standard compliant browser for your platform and only when complete go back and fix IE issues

4 Jul 2008, 4:46 PM
#6
lilryansd avatar

lilryansd

New Zenner

Join Date:
Jun 2008
Posts:
14
Plugin Contributions:
0

Re: Centering Subcatagory images in one row

opps I am so sorry I meant vertical up and down sorry it was a very long night last night, and my mind was in a differant place.

4 Jul 2008, 5:13 PM
#7
gjh42 avatar

gjh42

Black Belt

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

Re: Centering Subcatagory images in one row

Did you set Configuration > Maximum Values > Categories To List Per Row > 1 ?