Results 1 to 4 of 4

Thread: Need some coding help, please.

  1. #1
    Thread Starter
    dmyers's Avatar
    Join Date
    Oct 2010
    Location
    United States, Texas
    Posts
    103
    Thanks
    5
    Thanked 83 Times in 11 Posts

    Question 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!

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,958
    Thanks
    169
    Thanked 3,405 Times in 3,276 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  3. #3
    Thread Starter
    dmyers's Avatar
    Join Date
    Oct 2010
    Location
    United States, Texas
    Posts
    103
    Thanks
    5
    Thanked 83 Times in 11 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Thread Starter
    dmyers's Avatar
    Join Date
    Oct 2010
    Location
    United States, Texas
    Posts
    103
    Thanks
    5
    Thanked 83 Times in 11 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. CAn anyone help with PHP coding?
    By dollarpermile.com in forum ClassiPress General Discussion
    Replies: 1
    Last Post: June 14th, 2010, 06:50 PM
  2. CAn anyone help with PHP coding?
    By dollarpermile.com in forum Help Using ClassiPress
    Replies: 0
    Last Post: December 31st, 1969, 07:00 PM