• Resolved fraviemor

    (@fraviemor)


    How i could add suffix to input in order to show unit measurement?
    For example:

    Height:[–input–] cm

    Could i add that ‘cm’ text by CSS?

    • This topic was modified 5 years, 7 months ago by fraviemor.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter fraviemor

    (@fraviemor)

    Solved!
    I have added a CSS class like this:

    .suffix.wdform-element-section::after{
    content: 'Kg';
    padding-left: 10px
    }

    suffix is the CSS class that i have added to input field

    • This reply was modified 5 years, 7 months ago by fraviemor.
    Plugin Support Zhanna Khachatryan

    (@zhannak)

    Hi @fraviemor!

    I am very sorry for getting back to you late.

    It’s great that you could find a solution and thanks for sharing it with other users.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Input suffix for unit measurement’ is closed to new replies.