1

Input type file of Bootstrap 5 is too simple. https://getbootstrap.com/docs/5.1/forms/form-control/#file-input

file input bootstrap 5

I have 3 questions:

  1. Is possible move "Choose file" button to right?
  2. Is possible change "No files selected" message?
  3. Is possible change "Choose file" message?

Using Bootstrap 4 that is possible: https://getbootstrap.com/docs/4.6/components/input-group/#custom-file-input

Thank you!

isherwood
  • 52,576
  • 15
  • 105
  • 143
FeKuLa
  • 316
  • 2
  • 9
  • 23
  • Answered here: https://stackoverflow.com/questions/65770908/how-to-change-choose-file-text-bootstrap-5 – VikingBlooded Dec 22 '21 at 22:43
  • @VikingBlooded, not really. Those solutions are incomplete at best and can require JavaScript. That's a far cry from what Bootstrap 4 offered. – isherwood Dec 22 '21 at 22:45
  • Yes, it seems possible, but you have to create or customize your own CSS classes for that. I have played a few [here](https://jsfiddle.net/9td7sa3g/1/) just copying some parts of the old bt4 `custom-file` class, but it requires a lot of more work to do in order to be fully compatible in all circunstances, like inside input-group, etc... – masterguru Dec 23 '21 at 20:34

0 Answers0