cancel
Showing results for 
Search instead for 
Did you mean: 

Product detail Swatch Size

Product detail Swatch Size

Magento 2.4.7 ( local development) . 

I like to change the size of visual swatch on product detail page only . in my custom view.xml i have added following . 

<image id="swatch_image" type ="swatch_image">
<width>50</width>
<height>50</height>
</image>

this change works .. however, It also effect the size of swatch on product listing which i don't what that to happen. I found other directive to add to view.xml , however, nothing else seems to work at all . any info would be appreciated. 

 

Thanks