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

Issue with out-of-the-box css #224

Closed bmcn99 closed 4 years ago

bmcn99 commented 4 years ago

I have bootstrap 4.5 installed in a laravel environment and have included the bootstrap toggle css/js at the top of my page. My buttons work, but look like this out of the box: image in the active state and like this: image in the inactive state.

This is the closest I've been able to come: image but it looks clearly broken without the left side border working.

To get that I added this to my style: .toggle-handle { background-color: white; border: #ccc 1px solid; } .toggle-off { background-color: #e6e6e6; border: #adadad 1px solid; }

I've been tinkering with the css trying to get it to look like the demo for more than an hour now and based on previous experience with trying to fix up css/bootstrap issues, it's going to take a lot longer than that for me to figure it out. css is not my forte.

Does anyone know how I can resolve this issue and get it looking like it should? My generated app.css is 14k lines long so I can't easily share that, but the bootstrap section is headed by this: /**

Any help or guidance would be appreciated, thank you!