I am trying to create a custom template so that my FAQ will show up like:
but what I have achieved so far is:
For this I created in:
I created no-sidebar-page.php and selected it as template for faq page and is at pastbin url below:
Basically I copied page.php and removed trailing lines for headers and in also commented headers tag. also added 2 lines to style.css as in paste.
can one guide on how to go about coding things right to get desired effect.
Basically I want to get that faq working collapse/exapand and with no header and footer (see that comment text box) and make it full width like in desired site.
Thanks for using my plugin. I’m not a TwentyFourteen expert by any stretch (I’ve never even activated it to be honest), but I believe if you remove line 49 of that pastebin, that will handle the removal of the sidebar. As for removing the header and footer, that’s probably easier achieved through CSS as you can simply set the surrounding div’s to
display:none;. I do not recommend removing lines 20 or 52 as that will most assuredly break many, if not all of the, things on your site.
I can’t give you the exact CSS as I’m unable get the host IP to resolve.
- The topic ‘full width template’ is closed to new replies.