I am trying to create a custom gallery post type but

Hello,

I am trying to create a custom gallery post type but instead of behaving like a post, I'd like for it to behave like a page. Is this possible?
I keep getting the post layout when I publish with unwanted header and sidebars.

Thanks