Trying to use font awesome on input button RRS feed

  • Question

  • User-501297529 posted

    I have tried this for using a font awesome for an input but this didn't work. How can I put a font awesome icon on this input button:

                              <input type="submit"
                               class="btn btn-success btn-sm col-sm-12"
                               data-action="submit" />

    Wednesday, December 16, 2020 7:51 PM


  • User-474980206 posted

    You need to set the font for the special char by using a span. You can not do this with a value, so you will need to convert the html to a button, which allows more control of the content.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, December 16, 2020 11:04 PM