Changing the color when it comes to a certain range of numbers
-
Hello,
I’m using a shortcode like this. I want something like below. Can I customize it? How can I do it?
When the stock level drops to 10, change color to red
My shortcode:
[gravitywp_count formid=’4′ filter_field2=’166′ filter_value2=’MYPRODUCTNAME’ filter_field=’133′ filter_value=’1′]
For example this shortcode result: 16
For example, if this number drops to 10, I want its color to be red. The number is for all numbers 10 and below. So there will be a less than sign.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Changing the color when it comes to a certain range of numbers’ is closed to new replies.