May 19, 2015 at 7:43 pm #9927
Iâ€™ve been searching everywhere for how to make Custom Page Templates and everything I can find directs me on how to do it in a manner that is not compatible with the graphene theme.
Can someone help me with some information on how to make custom page templates inside the graphene theme? Iâ€™ve got two pages in a site that need some functionality outside of the graphene theme.
ThanksMay 19, 2015 at 9:04 pm #44923Syahir HakimKeymaster
Create a child theme, and then add your custom page templates in your child theme.May 19, 2015 at 9:22 pm #44924
I understand that part of it. Iâ€™m talking about constructing the actual page template and the elements involved. Normally all the help pages Iâ€™ve found say just add this code or that code anyway you like within normal html. Many of the codes mentioned do not even appear in Graphenes entire template anywhere. So is there any help anywhere on how to make a custom page template and us it with Graphene?
<?php get_sidebar(); ?>May 20, 2015 at 1:16 am #44925Kenneth John OdleModerator
Put code in between backtick (Code:`
) characters. It’s usually located above the Tab key on your keyboard.
It might help if we knew exactly what you were trying to accomplish. Other than that, it’s a matter of copying one of Graphene’s page templates and altering it the way you want or need.May 20, 2015 at 1:06 pm #44926
What I am trying to accomplish is a way to pull up the side bars outside the container. After thinking about this Iâ€™m pretty sure itâ€™s not possible. Anyways Iâ€™d like to have a 3 column layout, but the left and right columns only display the sidebar content. The middle column will display the page content and the menu. The problem I am having setting this up is really with the menu. I need this page with sidebars to be 1400pixels wide. So if the browser window is not opened large enough, and or the screen resolution is less than 1400 the menu is no longer centered and sometimes runs off the page. The client is used to the 1400 size but wants the menu to be centered over the content.
Is this what is referred to as â€œone of Graphene’s page templatesâ€: template-threecolumnscenter.php ?
I ask because this is why I originally asked how you edited this template. There just seems to be no correlation between how most tutorials show you to edit page templates and the way this page is laid out.
Thank you!!!May 20, 2015 at 6:14 pm #44927
Or is there a way to make one page wider than all the others using CSS?
You must be logged in to reply to this topic.