WordPress.org

Forums

Double Sidebar (7 posts)

  1. ruanz3
    Member
    Posted 5 years ago #

    Where do i find a theme which makes it possible to have a big square in the sidebar? I got a them with a double sidebar now but still it doesn allow for a a big square. You cant have a square that stretches over both bars.

    Thanks.

  2. tluskie
    Member
    Posted 5 years ago #

    You want them as an "endcap" like this site? http://amygrindhouse.com/

    As in keeping 2 sidebars but have one box that goes across the top of both?

  3. ruanz3
    Member
    Posted 5 years ago #

    Exactly

  4. ruanz3
    Member
    Posted 5 years ago #

    Am i gona get some help here or what?

  5. tluskie
    Member
    Posted 5 years ago #

    It will have a lot to do with how your template is set up, but here it is in general. One way to do it is...

    edit your sidebar.php to not function as a traditional sidebar.

    Instead, set it up as a sidebar with two more sidebars inside it, like this.

    <div class="styleforbox"><?php include(TEMPLATEPATH . '/yourbox.php'); ?></div>
    
    <div class="styleforeleft">
    <?php include(TEMPLATEPATH . '/sidebar-left.php'); ?>
    </div>
    
    <div class="styleforeright">
    <?php include(TEMPLATEPATH . '/sidebar-right.php'); ?>
    </div>

    Basically, you are:

    1) Making a sidebar.php
    2) Inside that sidebar you are stacking a box on top. Do that either hardcoded in or sourced (via php include).
    3) Then source in two sidebars AFTER the box.
    4) Make your CSS <div> control the style, look, and a alignment of each box/column.

  6. ruanz3
    Member
    Posted 5 years ago #

    Thats too complicated for me, where can i find a template that would have that option already?

  7. ruanz3
    Member
    Posted 5 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.