Hello, I am changing the default theme but I want the right side bar at the left so you exacly have two left sidebars....
I saw it on different themes but then it was to sidebars on the right.
Right sidebar on default to the left
-
carl_galloway
- Regular
- Posts: 1331
- Joined: Sun Dec 04, 2005 5:43 pm
- Location: Andalucia, Spain
- Contact:
That's easily done because that template uses a table to display the columns.
Simply replace the table withthis code;
You will however need to adjust margins and paddings on the right column and content column to make them site correctly.
Hope that helps,
Carl
Simply replace the table withthis code;
Code: Select all
<table id="mainpane">
<tr>
{if $leftSidebarElements > 0}
<td id="serendipityLeftSideBar" valign="top">{serendipity_printSidebar side="left"}</td>
{/if}
{if $rightSidebarElements > 0}
<td id="serendipityRightSideBar" valign="top">{serendipity_printSidebar side="right"}</td>
{/if}
<td id="content" valign="top">{$CONTENT}</td>
</tr>
</table>
Hope that helps,
Carl
If you don't want to adjust the CSS, you could try this:
That actually transplants the right sidebar elements to the left sidebar.
Code: Select all
<table id="mainpane">
<tr>
{if $leftSidebarElements > 0 or $rightSidebarElements > 0}
<td id="serendipityLeftSideBar" valign="top">
{if $leftSidebarElements > 0}{serendipity_printSidebar side="left"}{/if}
{if $rightSidebarElements > 0}{serendipity_printSidebar side="right"}{/if}
</td>
{/if}
<td id="content" valign="top">{$CONTENT}</td>
</tr>
</table>