It sounds like the banner is being added through the theme. That means that when you change themes, the banner will be missing. Instead of adding the banner directly to your theme, you can create a theme component for the banner, then add that theme component to all themes on your site.
You can find more details about this at the start of this topic: Beginner's guide to using Discourse Themes.