catalog icon indicating copy to clipboard operation
catalog copied to clipboard

Hiding Page Header on Certain Pages

Open mattfelten opened this issue 7 years ago • 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?

mattfelten avatar Oct 11 '18 17:10 mattfelten