Ankit Desai pro asked 7 years ago

Is there a way to get the label for the checkbox to the left. I tried the following unsuccessfully: `<div class="form-group"> <label for="isActive" class="col-sm-2 control-label">Status</label> <div class="col-sm-10"> <input type="checkbox" id="isActive"> </div> </div> But this causes the checkbox to not even show up. What am I missing?

Smith free answered 7 years ago

Michal Szymanski staff answered 7 years ago

Hello, that's because our checkboxes use a pseudo selectors after & before and you cannot easily change the position. Take a look at console and you will see how it works. If you really need to change a position you would have to go into a sass file "form" and rebuild a entire construction (or create another one). But if your css/sass level isn't height enough it won't be so easy.

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.


Specification of the issue

  • User: Pro
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No