Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] control button doesn take the anitmation Reply To: [Solved] control button doesn take the anitmation

#200946
Paulie_D
Member

Your selector won’t work because .switch-input isn’t a sibling of switch-label or switch-handle.

You need something more like this:

.bulkEditblocks label .switch-input:checked ~ .switch .switch-label 

http://jsfiddle.net/o0zg9q44/1/

You seem to have labels in labels…the HTML is pretty oddly structured.

Note…clicking on the actual switch..does nothing. This only works if you click on the “Portfolio” label.