How to hide a button (SVG icon) if user is logged in?

Try this, to include the <li>.

html:not(.anon) .header-icon-login  {
   display: none;
}
4 Likes