minhur / bootstrap-toggle

Bootstrap Toggle is a highly flexible Bootstrap plugin that converts checkboxes into toggles
http://www.bootstraptoggle.com
MIT License
1.48k stars 440 forks source link

How to align images? #235

Open nikriaz opened 11 months ago

nikriaz commented 11 months ago

Alright, Font Awesome icons look perfectly as in the documentation sample but how to align custom images? You can easily add icons or images... not really easy!

It seems like parent element has own idea how to render them and none of known Bootstrap classes does not work (as expected). The only way I found is inline style pixel margins. That is something no one likes.

uncentered