Missing checkboxes wanted

Hello to all fellow computer scientists around the world!

I am writing because I am experiencing a problem with a PHP code that generates an HTML page. The code in question was not written by me, but by a former colleague. After an update of the framework that handles CSS, the appearance of the page was completely thrown off.

I tried to solve it by restoring the previous version of the framework, but now a new problem arises: the checkboxes, which were visible before, have completely disappeared.

I know that explained like this may not be very clear, so I attach an excerpt of the code block below to give you a better understanding.

<div> 
                <input id="sw_incassare" class="place-right" type="checkbox" data-role="switch" data-caption="<small><span class='tally alert'>da incassare</span></small> &nbsp; &nbsp; " onchange="toggleFilter(this.checked)">
                &nbsp; &nbsp; &nbsp; &nbsp; 
                <input id="sw_acconto" class="place-right" type="checkbox" data-role="switch" data-caption="<small><span class='tally warning'>acconto</span></small> &nbsp; &nbsp; " onchange="toggleFilter3(this.checked)">
                &nbsp; &nbsp; &nbsp; &nbsp; 
                <input id="sw_pagata" class="place-right" type="checkbox" data-role="switch" data-caption="<small><span class='tally success'>pagata</span></small> &nbsp; &nbsp; " onchange="toggleFilter2(this.checked)">
                &nbsp; &nbsp; &nbsp; &nbsp; 
                <span class='place-right mif-filter mif-3x'></span>
            </div>

Please share all of the PHP and CSS code as well.

What CSS framework are you using?