If this is your first visit, check our documentation. To post, register or login.
Forums / Templates, Stylesheets, Page Layout / Hide product listing description by category

Hide product listing description by category

Started by simon1066 on 1 Jan 2012, 6:38 PM · Views: 931

Results 1 to 5 of 5
1 Jan 2012, 6:38 PM
#1
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Hide product listing description by category

Hi,

I have two categories containing products.

I want to hide the product listing description in one category BUT leave the description in the other.

I know that Featured/New listings can be treated differently with regards to listing descriptions, but is there any way to treat categories differently?

Simon

1 Jan 2012, 7:21 PM
#2
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: Hide product listing description by category

Should have said - running v1.50

Simon

2 Jan 2012, 12:39 AM
#3
stevesh avatar

stevesh

Black Belt

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

Re: Hide product listing description by category

You could use category-specific stylesheets to add display: none; to the description for those categories. Check the readme in includes/templates/classic/css for the general idea.

2 Jan 2012, 9:12 AM
#4
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: Hide product listing description by category

Thank you stevesh, I hadn't realised I could use cat specific stylesheets, and I must admit I also hadn't read the css helpfile.

I'll look into this now

Simon

2 Jan 2012, 9:53 AM
#5
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: Hide product listing description by category

Just to say, this worked perfectly - created a css for my category sub directory and set

.listingDescription{
display:none;
}

thanks for your help

Simon