We need a little more info on which banner this is, there are a couple different ones… if it’s the one asking to install the Discourse app, it’s controlled by the site setting native_app_install_banner (more info here Native app install banner for Android and iOS)
If it’s a blue banner like this, then it can’t be disabled with a setting, but it can be hidden with CSS
