Forum Replies Created

Viewing 2 Topics - 1 through 2 (of 2 total)
Author Posts
March 4, 2015 at 6:01 pm in reply to: CSS Class Name for Action Hook fields 38200
Jean Jean

Hi – I have read that documentation, and my action hooks are working great. I am asking how to add a CSS class to the <li> element that contains the <div> described in that documentation. It seems to me that the only way to do it is by you folks changing the plugin to allow a CSS Class Name field in the Form Editor for Action Hook fields, just like there is for all the other field types.

Please tell me if there is another way.

Thank you

March 2, 2015 at 11:21 pm in reply to: CSS Class Name for Action Hook fields 38016
Jean Jean

Sorry – I didn’t realize it would strip out all my tags. Here is a cleaner version.

Hello –

Most WPUF fields have a CSS Class Name option which applies that class to the <li> element containing the label and form element <div>s. Action Hook fields are responsible for creating their own <div>s for the label and form element – but the <li> is generated by WPUF. This means that I cannot apply a class name to one of my Action Hook fields like I can other fields in the form – on the <li> tag.

Am I missing something? Would it be possible to add a CSS Class Name option for Action Hook fields?

Thanks!

Viewing 2 Topics - 1 through 2 (of 2 total)