Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Adriano Fabri 383 posts 1280 karma points
    Jul 18, 2017 @ 08:59
    Adriano Fabri
    0

    How to hide labels

    Hi, there is a way (in formulate section) to configure labels to be hidden or I must use CSS?

    Thanks

  • Nicholas Westby 2005 posts 6843 karma points c-trib
    Jul 18, 2017 @ 15:01
    Nicholas Westby
    0

    Yeah, you can hide it with CSS (there is no configuration option to hide labels). Something like this:

     .formulate__field-label {
        display: none;
    }
    

    Though, for accessibility reasons, you may want to instead do something a little more clever, such as one of these approaches:

  • Nicholas Westby 2005 posts 6843 karma points c-trib
    Jul 18, 2017 @ 19:57
    Nicholas Westby
    0

    Actually, I believe most (possibly all) Formulate fields use an aria-label attribute, so hiding the field labels with display: none should be fine (in terms of accessibility).

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies