cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

Custom CSS works in Preview but not when published

Jump to solution

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 { 

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

}
Labels: (1)
0 Kudos
Reply
1 Reply
Workflow Hero

Re: Custom CSS works in Preview but not when published

Jump to solution

solved it with !important tag.

  background:#FFB81C !Important;

0 Kudos
Reply