Support » Fixing WordPress » 2 sidebars on same side in Atahualpa?

  • I’m wondering if there is a way to set both the left and right sidebars to be on the same side of the page, either left or right.

    Pardon my poor ascii art.
    ______________
    |body…|.|..|
    |……….|.|..|
    |……….|.|..|
    |……….|.|..|
    |……….|.|..|
    |……….|.|..|
    ______________

    Make sense? Is this possible?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The theme is prepared to allow that. I might be missing something but it should work like this: Cut the following from header.php

    <?php if ( $left_col == "on" ) { ?>
    <!-- Left Sidebar -->
    <td id="left">
    
    <?php // Widgetize the Left Sidebar
    if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(1) ) :
    endif; ?>
    
    </td>
    <!-- / Left Sidebar -->
    <?php } ?>

    and paste it into footer.php, right before this:

    <?php if ( $right_col == "on" ) { ?>
    <!-- Right Sidebar -->
    <td id="right">
    
    <?php // Widgetize the Right Sidebar
    if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(2) ) :
    endif; ?>
    
    </td>
    <!-- / Right Sidebar -->
    <?php } ?>

    and in header.php change this:

    <colgroup>
    <?php if ( $left_col == "on" ) { ?>
    <col class="colone" />
    <?php } ?>
    <col class="coltwo" />
    <?php if ( $right_col == "on" ) { ?>
    <col class="colthree" />
    <?php } ?>
    </colgroup>

    to this:

    <colgroup>
    <col class="coltwo" />
    <?php if ( $left_col == "on" ) { ?>
    <col class="colone" />
    <?php } ?>
    <?php if ( $right_col == "on" ) { ?>
    <col class="colthree" />
    <?php } ?>
    </colgroup>

    This worked…thanks…BUT when I try to edit the sidebar content it won’t let me update the right sidebar. Ideas?

    Yeah I have the same problem, can anyone please help?

    Maybe try editting the sidebars while they are back on the sides, and then when finished move the code back over…. just a thought

    This actually works perfectly!!! but this moves both sidebars to the right. Does anyone know how to move them to the left?

    Thank so much

    krmartel

    (@krmartel)

    If anybody is checking this thread still…

    I tried this and it put my left SB above my header. It did make room for a sidebar next to my right one (on the right)…

    Any suggestions? What might have I done?

    jfrenaye

    (@jfrenaye)

    The latest version has the ability to add two sidebars on either side. Also, I wonder if just resizing the center column to 200 the right column to 200 and the left to 600 (or some such number) woudl do it.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘2 sidebars on same side in Atahualpa?’ is closed to new replies.