Zen Follower
- Join Date:
- May 2009
- Posts:
- 201
- Plugin Contributions:
- 0
Post #1 by ttmb33
Hi,
Please show me how to turn off or disable images on product page/ product infor page?
Thanks for your help and guidance.
Started by ttmb33 on 24 May 2010, 3:07 PM · Views: 1,310
Zen Follower
Hi,
Please show me how to turn off or disable images on product page/ product infor page?
Thanks for your help and guidance.
Totally Zenned
Do you want to disable ALL Product Info Page images? or do you want to disable only SOME of them?
20 years a Zencart User
Zen Follower
I want to disable all of them.
Totally Zenned
Product images can appear in MANY places... Each of these is usually governed by a style declaration inside a <div>
The following are SOME of the areas where a product image will display, but this is not all of those possible places:
img.listingProductImage,
#specialsListing img,
#featured img,
#allProductsDefault img,
#newProductsDefault img
A BLANKET stylesheet.css declaration to NOT display images in the above areas would therefore read:
img.listingProductImage, #specialsListing img, #featured img, #allProductsDefault img, #newProductsDefault img {display:none;}
If you want to stop images in other areas (shopping cart, what's new sidebox, etc) then it is a case of finding the DIV CLASS or DIV ID that governs that element, and adding it to the list I have shown above.
Remember... if you JUST put the DIV CLASS / DIV ID into the display:none declaration, you will lose the entire element... That is why I specify img in the declarations above...
If you use Firefox with the FireBug plugin, you can use the "Inspect Element" tool in FireBug to show you what these DIV CLASSES and DIV ID'S are. This will assist you in working out what id's and classes you need to add to your list in the css declaration.
20 years a Zencart User
Tell staff why this post should be reviewed.