I am learning how to create new templates in WP. I am using a child theme of Twenty Eleven.
My problem is that whenever I create a new template the layout breaks. For debugging I stopped using any customizations and simply copy-pasted-renamed the file sidebar-page.php
from Twenty Eleven into my child theme's directory.
The only adjustment I made to this file is that I edited the Template Name:
at the start of the file.
However what happens is that while selecting the original "Sidebar" template the layout works, when I select my new custom template, the layout breaks. What happens is that the content moves to the center and the sidebar gets positioned below the content, not next to it.
Can you tell me why is this happening and what do I need to edit/copy to fix it?
Template: twentyeleven
within it's details, as explained here: codex.wordpress.org/Child_Themes