Need some coding help, please.
I need a little coding help from someone.
I added a custom field called "Item Status" using a dropdown list. The choices for selection are "Available", "Backorder", "Sold" and "Out of Stock". That part of the page works fine. It shows up on the 'Add New' page as well as on the page when you look at the specific ad.
Screenshot
What I want to do is to have the "Available", "Backorder", "Sold" and "Out of Stock" in bold (the labels are already in bold) and have the color of the text change depending on what is delected. An example would be if the item has been sold the text would look like this.
City: Grand Prairie
State: Texas
Country: United States
Zip/Postal Code: 75051
Item Status: Sold
Listed: October 13, 2010 5:29 am
Expires: 59 days, 23 hours
I don't mind hard coding it into the page because I will not be adding more fields and I can always repeat the steps to code it in if I need to update the page for some reason. Basically I would like each of the selection in the colors shown here.
"
Available", "
Backorder", "
Sold" and "
Out of Stock"
Also, is there a way to put the "Item Status" field at the top of the list with one blank line before the rest of the list is populated? It would make a much cleaner look.
If anyone would be willing to help me, it would be much appreciated.
Thank you very much!