Forums / Templates, Stylesheets, Page Layout / Want to change layout of Sub Category page

Want to change layout of Sub Category page

Locked

Started by hhalliburton on 31 Jul 2009, 6:21 PM · Views: 3,205

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
31 Jul 2009, 6:21 PM
#1
hhalliburton avatar

hhalliburton

New Zenner

Join Date:
Jul 2009
Posts:
78
Plugin Contributions:
0

Want to change layout of Sub Category page

I've been looking but I can't find what I'm looking to do.

I would like to have the layout in this order

Product Image, Product Name, QTY, Price

I would like the product name to all be aligned on the left and not centered and I would like to have a space between the product images.

Here is my sub category page

Thanks for help.

Heidi

31 Jul 2009, 7:03 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Want to change layout of Sub Category page

You'll have to go into the code to move the Quantity column - I'd suggest you turn it off. I think it's confusing to the customer.

The other stuff - add something like this to your stylesheet:

.itemTitle{text-align:left;}

.productListing-data {padding-bottom:20px;}

31 Jul 2009, 7:21 PM
#3
hhalliburton avatar

hhalliburton

New Zenner

Join Date:
Jul 2009
Posts:
78
Plugin Contributions:
0

Re: Want to change layout of Sub Category page

Thank you, but, I give! Where do I find the style sheet to make these changes?

Heidi

1 Aug 2009, 12:38 AM
#5
hhalliburton avatar

hhalliburton

New Zenner

Join Date:
Jul 2009
Posts:
78
Plugin Contributions:
0

Re: Want to change layout of Sub Category page

Ok, I just followed all of the steps from here

https://www.zen-cart.com/tutorials/index.php?article=142

and now NOTHING comes up! :shocking:

When I switch back to Classic everything is there but now the bars have all changed to blue instead of green! How do I get this fixed and get the green bars back?

Heidi

1 Aug 2009, 8:45 AM
#6
sushilkumarpandey avatar

sushilkumarpandey

New Zenner

Join Date:
Aug 2009
Posts:
2
Plugin Contributions:
0

Re: Want to change layout of Sub Category page

Hi you can do that here. root catalog->includes->templates->template_default->templates..
"Product Listing" - product_listing.php.Find array('params' => 'class="centerBoxContentsProducts centeredContent back"
just remove the centeredContent from there.
"New Product Listing" and "Featured Product Listing" . Find <td width="<?php echo IMAGE_PRODUCT_NEW_LISTING_WIDTH + 10; ?>" valign="top" class="main" align="left"> and <td width="<?php echo IMAGE_FEATURED_PRODUCTS_LISTING_WIDTH + 10; ?>" valign="top" class="main" align="left">. Now make align="center".

Sushil Pandey

3 Aug 2009, 2:56 AM
#7
hhalliburton avatar

hhalliburton

New Zenner

Join Date:
Jul 2009
Posts:
78
Plugin Contributions:
0

Re: Want to change layout of Sub Category page

I have been searching all over for the lines that you specified and I can't find them!

I want to make the sub~category have a space between all of the pictures that are on the left. Then I want to have the names of the products align to the left.

Anyone??? Please???

3 Aug 2009, 12:03 PM
#8
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Want to change layout of Sub Category page

You can still do that by adding the lines in post #2 to the stylesheet file, the path to which is at the top of post# 4. Ignore the custom template stuff for now.

3 Aug 2009, 9:33 PM
#9
hhalliburton avatar

hhalliburton

New Zenner

Join Date:
Jul 2009
Posts:
78
Plugin Contributions:
0

Re: Want to change layout of Sub Category page

Stevesh,

I know NOTHING about .css and .php Where would I put the two lines from post #2 in the stylesheet? Does it matter??

3 Aug 2009, 11:58 PM
#10
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Want to change layout of Sub Category page

hhalliburton:

Stevesh,

I know NOTHING about .css and .php

Then it's time you learned, especially if you want to be able to configure/style Zencart.

It usually doesn't matter where in the stylesheet you place the new statements. I usually place them at the end.

4 Aug 2009, 12:36 AM
#11
hhalliburton avatar

hhalliburton

New Zenner

Join Date:
Jul 2009
Posts:
78
Plugin Contributions:
0

Re: Want to change layout of Sub Category page

Honestly, I'm reading it over trying to figure out what means what, some I'm figuring out.

Thanks for your help!

4 Aug 2009, 12:52 AM
#12
hhalliburton avatar

hhalliburton

New Zenner

Join Date:
Jul 2009
Posts:
78
Plugin Contributions:
0

Re: Want to change layout of Sub Category page

That is PERFECT, just want I wanted. It looks so much cleaner.

Thanks,