PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

multiple css classes

  1. Hello:

    I need some help with something I hope is really easy for people on this forum. My site is "http://lovesexconversation.com" and I have a form on page. I have been making the labels on the inputs be transparent and then put background pics on the field so I could have a more artistic looking text. It was all working well; I assigned a css class to each input and so the background pic would only apply to that input. Well I then wanted to make the multiple choice item "are you over 18?" to be a horizontal input rather than the standard vertical input. I then found on this forum how to do "ready_classes" to change a number of things. the "gf_list_2col" one worked very well. Not only did it put both choices on one line; but it spread them out. (the "inline" one scrunched them together.) the problem i have is i dont know how to assign a css class and also assign a "ready_class" as well on that same input. I am thinking only one can be put into that box under "advanced" for css. I tried putting them both in that box and separating with a ";" but that didnt work. I am thinking I need to have my css class assigned "age_1" assigned in that input box, and I need to find a way to code that ready_class of "gf_listZ_2col" the normal way using my "custom.css" file in thesis theme. I hope this makes sense...please let me know if anyone knows how to make both css items apply...

    Thanks,

    Gerard

    Posted 13 years ago on Monday August 29, 2011 | Permalink
  2. Hi charismaarts,

    You can add multiple classes to the CSS Class field property. Just add a space between each class. Example:

    http://grab.by/aO7B

    The two classes here being, "gf_list_2col" and "my_custom_class". You can add as many as you'd like.

    Posted 13 years ago on Monday August 29, 2011 | Permalink
  3. Thanks very much that worked. I felt kind of stupid asking, I figured there had to be a way to do this, but I wasnt getting anywhere guessing!

    Thanks,

    Gerard

    Posted 13 years ago on Monday August 29, 2011 | Permalink
  4. No problem. Glad we could help. :)

    Posted 13 years ago on Monday August 29, 2011 | Permalink

This topic has been resolved and has been closed to new replies.