Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

App Bridge Next - Remove Title Bar

App Bridge Next - Remove Title Bar

erandagan
Shopify Partner
4 0 3

In the new App Bridge version (https://shopify.dev/docs/api/app-bridge-library) that's installed via CDN, it seems like a default Title Bar is added to all apps. For many apps that already include their own custom design, this is not wanted, takes extra space in the screen, and makes it impossible to migrate to the new app bridge version.

 

How can the default title bar be removed? Is it possible at all?

Reply 1 (1)

SBD_
Shopify Staff
1831 273 423

Hey @erandagan 


Will pass along the feedback!

In the meantime, it appears to use the document's title. To remove you can set the title to an empty value.

 

// E.g.
<title></title>

// or programmatically with javascript
document.title = '';

 

Scott | Developer Advocate @ Shopify