Forums / Templates, Stylesheets, Page Layout / Formating not working on product listing page

Formating not working on product listing page

Locked

Views: 724

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
2 Jun 2010, 4:18 PM
#1
leest35 avatar

leest35

Zen Follower

Join Date:
May 2010
Location:
London UK
Posts:
134
Plugin Contributions:
0

Formating not working on product listing page

I used a mozilla plugin to identify the class of the attributes on the product listing page so that i could format them with a yellow background which i did.

However the formating hasn't made any changes but has worked on the product info page.

Here is the product listing page:

http://79.170.43.200/pestcontrolonline.com/index.php?main_page=index&cPath=1_2_3

And here is the product info page:
http://79.170.43.200/pestcontrolonline.com/index.php?main_page=product_info&cPath=1_2_3&products_id=4

What i don't understand is why it would work on one but not the other.

2 Jun 2010, 5:32 PM
#2
stevesh avatar

stevesh

Black Belt

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

Re: Formating not working on product listing page

Zencart strips HTML from the product listing.

You'll have to make the changes in product_listing.php described here:

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

2 Jun 2010, 5:33 PM
#3
ronlee67 avatar

ronlee67

Totally Zenned

Join Date:
Sep 2006
Location:
Colorado Springs CO USA
Posts:
519
Plugin Contributions:
0

Re: Formating not working on product listing page

Perhaps there is a separate class definition (using same class name) for the Product Listing?

This may be the case as it appears you are using a custom or third party template.

www.aspenshopsonline.com - ZenCart 1.3.9h
www.wilkssupply.com - ZenCart 1.3.9h
www.un-du.net - ZenCart 1.3.8a

2 Jun 2010, 5:40 PM
#4
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Formating not working on product listing page

Try adding your background color in:

#productAttributes
```instead. This will make the whole box around the attribute options the same color on ALL pages with attributes. And personally, I think it will look better than the yellow "stripes" you've got, now.

Hope this helps.

Teach them to shop and they will shop today;
Teach them to Zen and they will OWN a shop tomorrow!

2 Jun 2010, 7:08 PM
#5
leest35 avatar

leest35

Zen Follower

Join Date:
May 2010
Location:
London UK
Posts:
134
Plugin Contributions:
0

Re: Formating not working on product listing page

Hi thanks all,

I changed the productAttributes which changed the background colour of the attributes area, but i was specifically wanting to change the background of the individual rows and so i think i will have to modify the productlisting page it's self.