How do you hide the title bar?

i tried this, but its stil there

custom_header:
  hide_header: true
  footer_mode: true
  hide_help: true

resources:
  - url: /local/sidebar-card.js
    type: module   
  - type: module
    url: /local/custom-header.js

it goes after resources