How can I alter the border radius and color of a selected product photo?

How do I change the ‘‘selected’’ line border radius and color?

1 Like

Hi @blcksjfds

  1. From your Admin Page, click Online Store > Themes >Actions > Edit code
  2. In the Asset folder, open the theme.css
  3. Paste the code below at the very bottom of the file.

NOTE: Change the color red to color of choice

a.product__thumb-item a.is-active:before, a.product__thumb-item a:focus:before {
    box-shadow: inset 0 0 0 2px red;
}
1 Like

hi, this didn’t work

Hi @blcksjfds ,

Sorry about that. Try this code instead

a.product__thumb.js-no-transition.is-active::before {
    box-shadow: inset 0 0 0 2px red;
}

doesn’t work as well :disappointed_face: