Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Customization from the Admin / How can I turn of or disable images on the product page?

How can I turn of or disable images on the product page?

Locked

Started by ttmb33 on 24 May 2010, 3:07 PM · Views: 1,310

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
24 May 2010, 3:07 PM
#1
ttmb33 avatar

ttmb33

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.

24 May 2010, 3:17 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Post #2 by schoolboy

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

26 May 2010, 2:52 AM
#3
ttmb33 avatar

ttmb33

Zen Follower

Join Date:
May 2009
Posts:
201
Plugin Contributions:
0

Post #3 by ttmb33

I want to disable all of them.

26 May 2010, 10:14 AM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Post #4 by schoolboy

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