• I searched wp for any clues of how to insert a right and a left bar.
    Until now I’ve used a theme that has the sidebar (sidebar.php) in the right side, but right now I need another bar into the left side (because I have too much content to show on the first page). So I want two sidebar’s, one into the right and one into the left side.
    I have no ideea where to edit the placement of the sidebar include (cause I suppose it’s an include). I’ve downloaded a theme that has the sidebar in the left side but still I couldn’t find any place where it would say “you, sidebar! get into the left/right side!”, only text alignment.
    I really need to solve this problem because I have a LOT of information to be displayed on the first page and my sidebar is begining to look like a snake and the visitors need to scrool down for 30 minutes…
    Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Here is a quick example to start you off. You reaally need to know about css to do what you are seeking to do. If you don’t know css I suggest you switch to a template that already has 2 sidebars.

    In your sidebar.php file you need to define two divs

    <div class=”left-sidebar”> and <div class=”right-sidebar”>

    and include the menu item entries to be displayed within these divs

    Then in the css file put an entry such as

    /* Sidebars */
    .left-sidebar, .right-sidebar {
    font-size:10pt;
    position:absolute;
    width:150px;
    }

    .left-sidebar {
    left:5px;
    }

    .right-sidebar {
    right:5px;
    }

    I know I’ve commented before on this topic as have others. I’m surprised you couldn’t find the “sidebar” topics. In any case, I thought I would jot down a procedure and post it on my blog at https://www.jwurster.us/wordpress/2006/06/02/adding-a-sidebar/. It is a work in progress, so please add comments.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Right and left sidebar’ is closed to new replies.