Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor klhall1987

    (@klhall1987)

    Hello Irene,

    I am not affiliated with Ninja Forms, but I think I can help you.

    In the field settings tab, when you create a new field on your form there will be a box next to the “required” setting called “Custom CSS”. Add the following code to the “Custom CSS” box ‘‘ This lets ninja forms know to make the label bold.

    Please let me know if this answered your question, or if you have any other questions I’d be happy to answer them for you. You can also turn in a support ticket at: Ninja Forms Support

    Have a great Monday!

    Thanks,
    Kenny

    Thread Starter irenehofer

    (@irenehofer)

    Hi Kenny

    Thanks for your answer. I have found the field for Custom CSS. You’re writing “the following code”, but I can’t find any code there…
    I tried to add the value ‘strong’ to it, which makes only the input field bold.

    Plugin Contributor klhall1987

    (@klhall1987)

    Hello again Irene,

    Sorry, I think I misunderstood your question. So let’s give this another shot!

    You will need to create a custom class in your child theme’s stylesheet. To do this use the code below as an example. I had to put mine at the very bottom of the style.css page to get it to work correctly.

    /**This will apply bold styling and a green text color **/
    div.myclass-wrap label {
    font-weight: bold;
    color: green;
    }

    Once your code is in place then, you will need to add the class name to the custom class box. The class name is “myclass” without quotation marks, so you will not need the “-wrap” portion.

    Please let me know if this helps, or if you have any other questions!

    Thanks!
    Kenny

    mrdarklight

    (@mrdarklight)

    I’m having the same problem, but a bit in reverse. All of my Ninja form labels are bold, and I don’t want them to be. I’ve tried several ways, but whatever is making those labels bold is apparently overriding my settings, or I’m not doing it right. I’m not even sure whether Ninja forms is using <p> or <H4> or what to the labels, but I can’t seem to “un-bold” them.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add "ninja-forms-req" to label’ is closed to new replies.