Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

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?

#146369
Tom Houy
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”;
}