כיצד להשבית את לחצן סגירת נושא הבאנר רק עבור משתמשים לא מחוברים

You can do it with CSS. There are examples of how to find the thing that shows if the user is logged in on a bunch of topics. (What I would do is look for those, as css is still quite confusing to me, so I don’t have an actual answer.)

If you’re in a hurry, you should be able to find an example. Or perhaps someone will provide you with actual code.