Twentyten Child theme
I am trying to create additional sidebar layouts.
I created a layout for two left sidebars..Works perfect.
I created a layout for two right sidebars..Works perfect.
I also created a layout for one 220px wide sidebar and a layout for one 150px sidebar..Neither work as they should, in fact they are both displaying right sidebar content..????
I also created a 3 column left and right sidebar layout. But when viewing, only the right sidebar content is displayed..??
Does anyone have any idea where this conflict could be coming from?
I have been reading and re-reading the code and I just don’t see why this is happening.
I would post my css file, sidebar files and all of my template pages, but that would be a bit much.
My website is HERE, And I am going to leave this page set to display my LEFT sidebar and hopefully someone can help me figure this out.
Thanks in advance!
My two right sidebar and my two left sidebar templates works fine, so the left and right sidebars DO work.
But it doesn’t make sense why they won’t work individually, and together for my 3 column template.
I have been working from your tutorials which are good by the way.
The most frustrating thing is that I have already done this, and it works fine on one of my other sites!
As far as I can see my functions.php, sidebar.php, sidebar1.php, page-sidebar1.php are identical to both your tutorial and what I copied for my other site. And still the left sidebar does not display(only focusing on left right now).
What is even more weird is that when I display the left sidebar content, content displays from my right sidebar.
I have quadruple checked this from all of the angles I know to check, it just does not add up.
Which makes me think the conflict is coming from somewhere outside of the 4 previously mentioned files.
But where, I cannot see.
If you have an idea what may be causing this, I would really…really appreciate ANY suggestion. Because at this point, I am drawing a blank plus running out of hair to pull!
To check the template page has to be set, install and use FireFox > FireBug > html, and you can see if there is no secondary element?
Currently you have a right sidebar setup which does not help much:
<div style="margin: 0pt 0pt 0pt -220px;" id="container"> <div role="main" style="margin: 0pt 0pt 0pt 240px;" id="content">
The left / right sidebar, the three column template would have:
<div id="container" style="margin: 0 -240px 0 -220px;"> <div id="content" style="margin: 0 280px 0 240px;" role="main">
Goto: Admin > Pages > Pages > Select the page, Edit or Quick edit, look for the Template dropdown and select “Both Wide Sidebars Content” and save, so we can have a look!
All I would do is use Firebug and check that all elements are correct, if they are then use the ‘web developers’ addon for FireFox and the html validator, this is something else to try as html tags in content can affect output.
Fix this closing tag in the text widget!
<a href="http://americandreamenergysystem.com/?page_id=895">How We Do It <br/> <a href="http://americandreamenergysystem.com/?page_id=46">Your Energy System</a>
</a>after the ‘It’
<a href="http://americandreamenergysystem.com/?page_id=895">How We Do It</a> <br/> <a href="http://americandreamenergysystem.com/?page_id=46">Your Energy System</a>
BTW The menu width 880 is different to the header graphic, looks a little odd?
If it is still a problem then just zip the theme and email me, using the email address on my websites header.
- The topic ‘Twentyten Child theme’ is closed to new replies.