- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2020
01:10 PM
06-27-2020
01:10 PM
Opacity image Category page
I would like to add some black opacity over all product images on the category page. How does this work?
Labels:
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2020
08:28 PM
06-27-2020
08:28 PM
Re: Opacity image Category page
Hi @alexander_jorda
You need to override below phtml file first with your custom theme:
vendor/magento/module-product-video/view/frontend/templates/product/view/gallery.phtml
and add css with below less file for your customisation with design:
vendor/magento/magento2-base/lib/web/mage/gallery/gallery.less
It may help you to resolve issue.
If issue resolve, please click on 'Kudos' & Accept as Solution!
Problem solved? Click Accept as Solution!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2020
02:46 AM
06-28-2020
02:46 AM
Re: Opacity image Category page
Thanks for sharing. I found by acceditent another option. I added watermarks over the images with an opacity of 10%