#productGeneral #productMainImage {display: none;}
or
#productYourType #productMainImage {display: none;}
whichever is appropriate.
#productGeneral #productMainImage {display: none;}
or
#productYourType #productMainImage {display: none;}
whichever is appropriate.
Thanks, though in the end I went for using a c_??.css stylesheet (where ?? is the cat. no.) which edited the images from the single category. A p_??.css also does that for individual products. No need to create any new product types! Though it was good SQL practice, terrifying as it is to mess with the database.
Hello! I want to REMOVE images from particular products. How do I do this? You stated to use some kind of code p_??.css But where do I put this? How do I apply this? I understand that the ?? is replaced by the product number, but how and where do I put this code?
Any help will be greatly appreciated. Thanks.
Derwin
This would be an additional stylesheet which you would add to your /your_template/css/ folder. That stylesheet would look something like
/* special styling for product id ?? */
#productMainImage {display: none;}
See the css_read_me file in /template_default/css/ for more information.
Hello! I added a new stylesheet. I named it stylesheet2. I put this code in it:
/* special styling for product id 47 */
#productMainImage {display: none;}
I placed it in the exact location recomended, but nothing worked.
I also just placed the above code in the existing file called "stylesheet.css", but also nothing changed.
What am I doing wrong?
Is there a specific place to put this, or what exactly needs to be done? I am really confused about this.
I am soooooooooo greatful for any help in this.
Derwin
I believe you have to name it p_??.css (where the ?? is replaced by the product's number).
There is a file includes/templates/template_default/css/CSS_read_me.txt
you should read through.
HTH,
Lesli in SW Florida ~ writer, teacher, and dodging hurricanes!
HTH....Wow! Thank you. This worked perfectly.
But this removed the image from the actual product page, but not from the other location.
Here is what I have....
Catagory....All Cigar Brands
Subcatagory.....Macanudo
sub/subcatagory.....Cafe
then the individual products.
The code given to me eliminated the image from the actual product page, but how do I also eliminate the PRODUCT IMAGES from the sub/subcatagory page?
The website is www.joescigarshop.com and you can see that under "Cafe" is listed all of the Cafe Products. How do I eliminate all of the product images from THIS location?
You are the BEST. I really appreciate this help.
Derwin
Hey.....I FIGURED IT OUT! Thanks for all your help. This forum is simply FANTASTIC. Thanks again.
Derwin
Would you mind sharing what worked? :)
Well, I just went to each specific product and clicked on "edit". Then I simply put "none" in the image line and pressed preview and update. This removed the image from all the places.
But there is still a "line" that is where the image should be. This is showing on the subcategory page where it shows all of the products under that category.
IS THERE A WAY TO TAKE AWAY THAT LINE?
My site is www.joescigarshop.com and you can click on the All Cigar Brands link. Then click on Macanudo. Then click on Cafe. You can see all the products under Cafe, and see the line to the left of each product. HOW DO I REMOVE THIS LINE?
Derwin
Bookmarks