Show More
The out of stock dot used to be Red, now with this updated them it’s green???
A user reports that the out-of-stock inventory indicator dot changed from red to green after updating to Impulse Theme 7.4.0, and seeks help reverting it to red.
Two solutions provided:
CSS file modification: Edit product-inventory.css in the assets/modules folder, changing the .icon--inventory background property from #54c63a (green) to red or another preferred color.
Theme.liquid approach: Add custom CSS code to the theme.liquid file after the <head> tag via Online Store > Themes > Edit code.
Both solutions involve modifying the background color property to restore the red indicator for out-of-stock items.
The out of stock dot used to be Red, now with this updated them it’s green???
Open the file “product-inventory.css” in assets/modules folder and change the background property of “.icon–inventory” from “#54c63a” to red or to another color as shown:
.icon--inventory {
&:before,
&:after {
width: 9px;
height: 9px;
background: red;
border-radius: 9px;
position: absolute;
left: 0;
top: 0;
content: '';
margin: 8px;
}
You can try to add this code to theme.liquid file, after element in Online store > Themes > Edit code to make it red again