Just started with WordPress and have successfully got a child template and alternative sidebar to work. Unfortunately sidebar shows below content. Sure that this is a CSS problem but cannot find the correct bit. Have called the child template alicsur1-page.php is this the problem? Problem persists if I revert to sidebar.php instead of the alternative.
Have narrowed problem down to file name. Welcome page which works OK is running off a child version of sidebar-page.php but About Us page, which has the problem, is running off alicsur1-page.php. Code in both pages identical.
Suspect that I am doing something really stupid; but what?
why do you use different files with identical code?
the ‘problem’ lies in the way, Twenty Eleven deals with the sidebar formatting by adding the body_class .singular to templates without sidebar.
for the ‘sidebar-page.php’ template, there is a part in the code that does not add the body_class .singular;
in your child theme, you need to ‘remove’ this css class .singular for for any page templates that use the sidebar;