-
AuthorPosts
-
January 5, 2017 at 9:57 pm #730083
Hi there!
Is it possible to keep the Featured Image from displaying on the individual product page, but still show on the product grid on my main Shop page?
Thanks in advance!
January 6, 2017 at 7:54 am #730219Hey kellymarie2001,
Could you post a link to an example of your single product page so that we can take a closer look please?
Best regards,
RikardJanuary 6, 2017 at 9:15 am #730242It’s a basic woocommerce setup. For our purposes, I want to be able to keep the Featured Image on the main Shop page like here:
http://kriesi.at/themes/enfold/shop/
But when you click on the product, like the link below that featured image isn’t a part of the product gallery.
This request basically allows me to manage the thumbnail size of all my products on the main shop page so there’s a nice pretty product grid, then choose what photos display on the product detail page itself.
Thanks!
January 6, 2017 at 2:09 pm #730351Hi,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:
.single-product-main-image a.woocommerce-main-image { display: none; }
If that does not help, please post a screenshot showing the changes you would like to make. You can upload your screenshots on imgur.com or Dropbox public folder and post the links here
Best regards,
YigitMay 14, 2018 at 6:52 pm #956603Is it possible to remove the featured image only for a specific product(s)?
May 14, 2018 at 11:04 pm #956734Hey francisdelhaye,
This should be possible, however depending on the amount of products, it could be quite tedious in execution.
Best regards,
Jordan ShannonMay 14, 2018 at 11:13 pm #956741I just need to remove the featured image and gallery from one product.
May 14, 2018 at 11:39 pm #956745Hi,
How did you hide the images via css?
Best regards,
Jordan ShannonMay 19, 2018 at 2:17 am #958881Yes. used this code:
.single .single-product-main-image.alpha {
display: none;
}May 19, 2018 at 8:05 pm #959189Hi francisdelhaye,
Is it just one page where you need to remove the image and the gallery? Please remove the code given before and give us the link to just that one page, where you want those hidden.
Best regards,
VictoriaMay 24, 2018 at 3:18 pm #961568is this the info you need?
May 25, 2018 at 3:06 pm #962176Hi francisdelhaye,
You should be running at least php5.6.3 for the code to work properly. Please consider upgrading your php version.
Best regards,
VictoriaMay 27, 2018 at 2:39 pm #962748I just Updated to php version 7.2. Does that help?
May 29, 2018 at 2:25 pm #963704Hi,
Thanks for the update. The product image is already set to not display.
.single .single-product-main-image.alpha { display: none; }
Best regards,
IsmaelMay 29, 2018 at 2:25 pm #963705Hi,
Thanks for the update. The product image is already set to not display.
.single .single-product-main-image.alpha { display: none; }
Best regards,
IsmaelMay 29, 2018 at 3:50 pm #963780Thank you. I am trying to hide the featured image in one product. This code hides the image from all products. How can I remove the featured image from a single specific product?
Thank youMay 29, 2018 at 5:55 pm #963830Hi,
Please link us to the exact product you want to hide the image on.
Best regards,
Jordan ShannonMay 29, 2018 at 6:08 pm #963839Product to hide featured image
May 29, 2018 at 6:16 pm #963846Hi,
You can target using product ID as following
#product-522 .single-product-main-image.alpha { display: none; }
Best regards,
YigitJune 4, 2018 at 5:25 pm #966654Works PERFECT!! Thank you
June 4, 2018 at 5:42 pm #966665Hi,
I’m glad you got this corrected. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Remove featured image on individual Product page’ is closed to new replies.