Magento 2 - How can I remove the white borders from images in product list page?
how can i remove white frame around image in product list page
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityYou have to add false to view.xml in YOUR_THEME/etc/view.xml to the "category_page_list" image ID.
Example:
<?xml version="1.0"?>
<view xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/view.xsd">
<media>
<images module="Magento_Catalog">
<image id="category_page_list" type="small_image">
<width>240</width>
<height>300</height>
<transparency>false</transparency>
</image>
</images>
</media>
</view>
pub/media/catalog/product/cache
I just checked and that should solve
Jan 9, 2019 at 17:14