How do I create a page template with out the sidebar so the page only has one big content area? I want it to be assessable by the template drop down in the writer. thanks!
Cutline Theme Support Forums » Cutline Theme Support Forums
Page Template
(4 posts)-
Posted 4 years ago #
-
Anyone with some help?
Posted 4 years ago # -
I don't think this site is being maintained by anyone except fellow users. It might take a few days for someone to respond... hopefully.
Posted 4 years ago # -
That's very easy... although your content area is not going to expand to fill the page since it has it's own width setting.
What you need to do is simply find the template called page.php open add this to the top:
<?php /* Template Name: Insert Name */ ?>This will allow it to show up as an option when you are creating a new page.
Then find references to the sidebar.. I use three column but should be similar
<?php include (TEMPLATEPATH . '/l_sidebar.php'); ?>Delete that and save it, and then just make sure when you create your page you associate it with the template.
You are then going to want to expand the content area. If you look at your style sheet you'll see a section for the "core layout elements"
There's an ID called "Content" For us three column users it's set to 500px... you'll want to create a new ID called "content-big" or anything really, change it's width to whatever you want, as long as it's not bigger than the container and content box IDs. For us three column users that's 970 px.
Now all you have to do is return to the template you created and find the "content div" and instead of it saying
<div id="content">have it say<div id="content-big">Of course, this will create some issues as the comments section, and an array of other things within the content div are all set to its original width. But if your page isn't going to include comments or blog posts this shouldn't be such an issue.
Hope that gets you started.
Posted 4 years ago #
Reply
You must log in to post.
not resolved