• Resolved wesleyj

    (@wesleyj)


    I would like to find a solution for my wpforms form.

    I take a text field as example. I can choose the option: limit length.

    Though, after toggling it, I see a text shown under the input field like: 0-50 max chars. I would like to hide this but still keep the settings of 0-50 chars as input filter.

    Is this possible?
    Should I use customized CSS-code?
    And if yes: how is this done?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter wesleyj

    (@wesleyj)

    I know how to program in different languages, but frontend css is quite new to me.

    My idea is that I could look in the source code of the browser to see what css part could be affecting the specific element and use the css input in the customizer of wp to adjust it.

    The thing is, its a real challenge to find the right element. Is there some kind of repository online at wpforms whith the description of all css classes?

    If there is any or if there is anyone who can give a suggestion then I would like to hear please.

    Hello @wesleyj,

    We currently do not have a built-in way to hide the guide text for fields and we also do not have a repository of classes and IDs used in WPForms so the best option would be to use the code inspector of the dev tools to get the correct ID/class.

    We also have this tutorial you can check out to get started on styling WPForms here.

    But specifically for the length limit text, you can add the CSS:

    .wpforms-field-limit-text {
        display: none !important;
    }

    Here’s a screenshot of the code inspector: https://a.supportally.com/qEnj9k

    In case it helps, here’s our tutorial with the most common ways to add custom code like this.

    For the most beginner-friendly option in that tutorial, I’d recommend using the Code Snippets plugin.

    I hope this helps!

    Hi @wesleyj ,

    We haven’t heard back from you in about a week, so I’m going to go ahead and close this thread for now. But if you’d like us to assist further, please feel welcome to continue the conversation (please just see my post above).

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘hide max chars under text field’ is closed to new replies.