Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Product Listing Page

Product Listing Page

Locked

Views: 1,075

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
29 Dec 2006, 7:20 PM
#1
sheps avatar

sheps

New Zenner

Join Date:
Dec 2006
Posts:
12
Plugin Contributions:
0

Product Listing Page

Hi Guys

I'm pretty new to Zen Cart (well currently working on my first shop so I'm a complete noooobie!)

So far I've pretty much got it all sorted except one thing is really bugging me, which I cant work out how to adjust.

In the attached file I've highlighted an area of the product listings within the categories.

Does anyone know how I go about a) Aligning the text to be 'left' and not 'centre' and b) Can I change it so that the additional text on the item is tidier / not shown at all?

Any help would be greatly appreciated!

Thank you in advance

Sheps

29 Dec 2006, 10:33 PM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Product Listing Page

These questions are generally quite difficult to answer without seeing them on a working site. Luckily this one's very straightforward. The text is forced to the center by this statement towards the end of your stylesheet.css file

.centeredContent, TH, #cartEmptyText, #cartBoxGVButton, #cartBoxEmpty, #cartBoxVoucherBalance, #navCatTabsWrapper, #navEZPageNextPrev, #bannerOne, #bannerTwo, #bannerThree, #bannerFour, #bannerFive, #bannerSix, #siteinfoLegal, #siteinfoCredits, #siteinfoStatus, #siteinfoIP, .center, .cartRemoveItemDisplay, .cartQuantityUpdate, .cartQuantity, .cartTotalsDisplay, #cartBoxGVBalance, .leftBoxHeading, .centerBoxHeading,.rightBoxHeading, .productListing-data, .accountQuantityDisplay, .ratingRow, LABEL#textAreaReviews, #productMainImage, #reviewsInfoDefaultProductImage, #productReviewsDefaultProductImage, #reviewWriteMainImage, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew, .gvBal, .attribImg {

text-align: center;

}Basically everything in that list is centered including elements with the class that I have highlighted in red. If you remove the one in red (including the comma afterwards) the text in your screenshot will again default to the left.

As to your second question, I'm afraid that I'm not sure specifically what you consider to be "additional text". Most of what's there looks to me like text that you have added.

2 Jan 2007, 2:04 PM
#3
sheps avatar

sheps

New Zenner

Join Date:
Dec 2006
Posts:
12
Plugin Contributions:
0

Re: Product Listing Page

HI Kuroi

Many thanks for pointing me in the right direction of the justification on the product listing page.

With reference to my comment re: additional text. Is it possible to only display the Product Name and not the Products Description text on the product listing page?

Its the 'Products Description' that looks messy on my product listings because the descriptions are not just text, its all entered into a table when you view the item.

Hopefully you can help?

Thanks once again.

2 Jan 2007, 6:52 PM
#4
gjh42 avatar

gjh42

Black Belt

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

Re: Product Listing Page

Yes, you can turn off display of description in product listings.

Admin > Configuration > Product Listing > Display Product Description and set to 0.