Home › Forums › CSS › Is it possible to add text or a character based on a variable? › Reply To: Is it possible to add text or a character based on a variable?
August 10, 2013 at 8:44 pm
#146369
Participant
Can you assign custom CSS to the order number when bringing it into the page? Such as wrapping it with a SPAN tag? If so, you could use the “:before” or “:after” CSS selectors to include some additional content before or after order number.
SI Order Number
SC Order Number
Then the CSS would be something like:
.style-si:before {
content:”aaa “;
}
.style-sc:before {
content:”bbb”;
}