How to style checkboxes
bschooly opened this issue · 6 comments
Specifically how to get a space between checkbox and label?
Hi @bschooly - I'm sorry the checkbox isn't rendering correctly. Former's job is to output the correct Bootstrap (or other framework) HTML, and it's the framework's job to style the elements.
If your checkbox isn't being styled correctly, please double-check that you have selected your correct framework in Former's config/former.php
config file. If it's still rendering incorrectly, please post to this ticket:
- What version of Former you are using and what framework you have selected in
config/former.php
- What version of Bootstrap (or another framework) you are using
- The Former code you are using to generate the checkbox (
Former::checkbox('foo')
, for example) - The HTML output that is being generated by Former.
- A screenshot of the checkbox that is not being rendered correctly.
Well actually still had framework set to bootstrap3. Changing to 4 results in error. Do I need the latest former?
Hi @bschooly - what error are you seeing? You can find out what version of Former you are using by looking in your composer.lock
file -- you should see something like:
"name": "anahkiasen/former",
"version": "4.4.0",
Support for Bootstrap 4 was added in October 2018 in Former version 4.1.8
, so you will have to be on that version or higher.
4.0.5 so I've got upgrade and that in turn will probably mean upgrading laravel as I'm way behind on it for my application.
Closing this issue because it is quite old and it has been a long time since there was any activity, if there is still a problem please open a new issue.