interactivethings/catalog

Hiding Page Header on Certain Pages

Opened this issue · 0 comments

I'm using the Page component to make a page with a custom layout for the landing page of my Catalog site. I want to hide the Page Header so that my custom page takes up the entire page. The only way I've figured out how to do it is to add a very hacky <style> tag to the layout.

<style dangerouslySetInnerHTML={{__html: `
	div[class*="PageHeader"] {
		display: none;
	}
`}} />

Think there's a way we could add a configurable for this, maybe in the pages/routes object?