Tag Info

Hot answers tagged


Can't you change CSS rules? .hide-item-not-login{ display: block !important; } .logged-in .hide-item-not-login{ display: none !important; }


This can be done by having the display: none; only on the .logged-in selector. Like this... .logged-in .hide-item-not-login { display: none; } You might want to change that .hide-item-not-login to a more accurate .hide-item-login or something to make it more clear for this changed use case. Though it makes no difference to the functionality of it.

Only top voted, non community-wiki answers of a minimum length are eligible