I have a black line around the product images on the homepage and product page, Iād be happy to help
Topic summary
A user encountered an unwanted black border appearing around product images on both their homepage and product pages.
Solution Provided:
- Add custom CSS code to the theme.liquid file
- Navigate to: Online Store ā Theme ā Edit code
- Insert the CSS snippet before the closing tag
- The CSS targets product images and removes the border styling
Outcome:
The solution successfully resolved the issue. The black border was removed from the product images across the affected pages.
Hi
- Go to Online Store ā Theme ā Edit code.
- Open your theme.liquid file
- In theme.liquid, paste the below code before
If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
1 Like
Thank you very much for the help
1 Like
@Fynorix glad it worked. Your most welcome!

