Hi.
I’m on Vantage Premium 2.2 on WordPress 3.9.1 and would like to create a page with no header/menu, no footer, no side bars and full width. Basically I would like a fullscreen page.
No sidebars is easy with the page template, but the others are proven dificult.
Can someone, please, point me to the right direction? Maybe a custom page template?
Thank you.
Hi Allan
If you view the page source you’ll see a body tag, each body tag has a class in it that’s unique to that post or page. For example the unique class of this page we’re talking on is .postid-3007. So if we were hiding elements on this page, the selectors to insert into Appearance >Custom CSS might look like this:
So you’d need to swap .postid-3007 out with your page’s unique body class and insert the selector under Appearance > Custom CSS.
Custom CSS did the trick.
But a template that do not render the unwanted stuff would be more “responsible”. So I let a fullscreen template as a suggestion for a future version.
Thank you.
For sure. You could child theme that if you wanted. You’d need to create a new page template in the child theme. Base it off the Full Width template, remove the header, footer.
I tryed that earlier today by creating a template that call get_header(‘less’) and get_footer(‘less’), duplicated the header and footer php’s and removed stuff from there, but my page ended up a little strange.
I got not even closer to what the Custom CSS did, like, in the CSS I’m able to take out #main padding as well, I don’t know if in the template that would be possible..
CSS is the easiest solution here. To expand the main container – you could refer to this selector: