title: How to hide a class in a condition
body: <p>I want to hide a class in a list tag from being displayed in an if statement.</p>
  
  <p>In css:</p>
  
  <pre><code>li.Popup.EditAccountLink
  </code></pre>
  
  <p>so it should be something like this but ofcourse this is not the good syntax....</p>
  
  <pre><code> if(!= Gdn::Session()-&gt;UserID) {
    li class Popup.EditAccountLink {
      "display:none;"
  
    }
  
  }
  </code></pre>
  
  <p>Can someone help me make it the right way?</p>