Home Forums Plugin Support WP User Frontend Pro Wrap CSS class

This topic is: not resolved

This topic contains 3 replies, has 2 voices, and was last updated by  towhid 4 years, 2 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #36066

    joshi
    Member
    Post count: 18

    Hello,

    In a form, I need a DIV with some css classes wrapped around a form element.
    How can I do this. It doesn't work if I add a HTML field before and after each form element, because that is also wrapped by a li class.

    e.g.

    <div class="myclass1 myclass2">
    <li class="wpuf-el">...</li>
    </div>
    #36094

    towhid
    Participant
    Post count: 4505

    Hello Joshi,

    If you want to add a CSS class to your form element, you can add a name. This class name will be added to the

  • of the input element. But you can not wrap a DIV before a
  • . You must attach the css style within this
  • . Try and see what happen.

    Thank You ๐Ÿ™‚

#36205

joshi
Member
Post count: 18

Okay, as a request for future releases: It would be great to have another “html” field which can add custom html code without any DIVs around it.

#36210

towhid
Participant
Post count: 4505

Hello Joshi,

Thank you for your nice idea. I will forward this issue to our developer team. Hope they will implement this feature in near future.

Thank You ๐Ÿ™‚

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Wrap CSS class’ is closed to new replies.