AnsweredAssumed Answered

Custom CSS works in Preview but not when published

Question asked by cmikhaiel on Dec 28, 2017
Latest reply on Dec 28, 2017 by cmikhaiel

We have a custom CSS applied to a radio button, that should change the label background color when selected.

It works perfectly fine in "Preview mode" but when we published the form it only picks the font color (white) and not the background color. The background color stays as the original one;grey.   [if IE 9]  [endif]


Any idea why this could be happening?

.customtab input[type=radio]:checked ~ label { 


    color: white;
    border-bottom: 1px solid white; 
    z-index: 2;