Skip to main content
Nintex Community Menu Bar

Custom CSS works in Preview but not when published

  • December 28, 2017
  • 1 reply
  • 3 views

Forum|alt.badge.img+9

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; 

}

1 reply

Forum|alt.badge.img+9
  • Author
  • Novice
  • December 28, 2017

solved it with !important tag.

  background:#FFB81C !Important;