• Resolved John

    (@dsl225)


    Hello,

    How to add a border for a HTML field please?
    I see there is a styling option for adding CSS classes but have no idea what to use in there…

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @dsl225,

    I trust you’re doing well!

    Please add a unique custom class to the Styling field, for example, use my-html-field. Please see this screenshot:
    https://take.ms/CJ50R

    To add a border, please continue and add the following CSS code to Appearanace > Custumize > Additional CSS:

    .my-html-field {
    border: 1px solid black;
    border-radius:6px;
    }

    Change the 1px if needed to increase the thickness of the border and color black to any other colors. You can usee HEX colors like #ff0000 (red color).

    Please see an example:
    https://www.w3schools.com/colors/colors_picker.asp

    Let us know how it went?

    Cheers,
    Nastia

    Thread Starter John

    (@dsl225)

    Wonderful, works fine.
    Many thanks Nastia!

    PS: would be nice to include this in your documentation.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding styling classes’ is closed to new replies.