StrefaBiznesu Posted July 15, 2022 Share Posted July 15, 2022 Is there a way to disable that red circle icon, when something is out of stock? Or replace with other. Can't find it in img folder. Link to comment Share on other sites More sharing options...
Tom Girou Posted July 15, 2022 Share Posted July 15, 2022 I've got nothing to try it out but it's certainly the CSS cursor: not-allowed; If you extends the CSS of that element, you could change the cursor styling. Link to comment Share on other sites More sharing options...
StrefaBiznesu Posted July 15, 2022 Author Share Posted July 15, 2022 18 minutes ago, Tom Girou said: I've got nothing to try it out but it's certainly the CSS cursor: not-allowed; If you extends the CSS of that element, you could change the cursor styling. The code is: .product-variants-item input[type=radio][name^=group].input-radio.invalidAttribute, .product-variants-item input[type=radio][name^=group].input-color.invalidAttribute { cursor: not-allowed !important; } When i change it to: cursor: pointer Is it fine. But the code doesn't work in custom.css .product-variants-item input[type=radio][name^=group].input-radio.invalidAttribute, .product-variants-item input[type=radio][name^=group].input-color.invalidAttribute { cursor: pointer !important; } Link to comment Share on other sites More sharing options...
Tom Girou Posted July 15, 2022 Share Posted July 15, 2022 When you say it is fine, it is when you edit it in the inspector ? And when you try to write that same CSS rule in your custom.css it's not working ? Am I right ? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now