Forums / Templates, Stylesheets, Page Layout / Where to format product listing?

Where to format product listing?

Views: 710

Results 1 to 5 of 5
8 Feb 2011, 3:29 PM
#1
justrimless avatar

justrimless

Zen Follower

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

Where to format product listing?

I'm drawing something of a blank trying to format the product listings.

I use web developer in Firefox and have messed with entries in the stylesheet,
for example I have added a width to .centerColumn but that crunches both of my columns at the same time.

And I can't see where I could make changes in tpl_modules_product_listing.php

What I am trying to do is, on the following page type,
onestopglasses. co.uk/prescription-sunglasses-c-48.html
(remove the space before co)
is to,
Fix the width of the description text,
Increse the font size of the price,
Change the product name to white without it affecting every link on the site.

Any help would be greatly appreciated.

8 Feb 2011, 4:00 PM
#2
stevesh avatar

stevesh

Black Belt

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

Re: Where to format product listing?

Something like:

.listingDescription {width:32em;}

This should work for the font color, but you'll have to remove the inline styling to know for sure:

#productListing .itemTitle {color:#FFFFFF;}

8 Feb 2011, 6:09 PM
#3
justrimless avatar

justrimless

Zen Follower

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

Re: Where to format product listing?

I sorted the font colour by crowbarring font tags into a line in product_listing.php but I will try the above suggestion.

The price font issue has been addressed here,

http://www.zen-cart.com/forum/showthread.php?t=96123

I'll try the width and will report back.

8 Feb 2011, 6:15 PM
#4
justrimless avatar

justrimless

Zen Follower

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

Re: Where to format product listing?

stevesh:

Something like:

.listingDescription {width:32em;}

I changed it to a px width but that was just what I was looking for.

Many thanks.

9 Feb 2011, 1:27 PM
#5
justrimless avatar

justrimless

Zen Follower

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

Re: Where to format product listing?

I think I am down to one remaining glitch,

Where a customer does a search and there is only one result, as below,

http://onestopglasses dot co dot uk/index.php?main_page=advanced_search_result&search_in_description=1&keyword=481

The header graphic and the description behave as expected but the image and title centre to the full page width.