Skip to:
Content
Pages
Categories
Search
Top
Bottom

Sidebar pushed beneath container (dual container divs)

  • @visionvek

    Member

    I’ve read about the fixes for this issue and I realized that my theme has a container div in the header that created a fixed width section. The buddypress container is assuming that fixed width, I assume because both of them have the div id “container”. I also assume since both of them have the same div id that if I change the container size with css that my header will be altered as well, which I don’t want.

    So, my question is, is there a way to change the div id of the buddypress container so that I can set the width with css? Or will changing the div id effect the template files (being that the template files and my page.php files have to match).

    I hope I’m making sense here. Any input will be appreciated.

Viewing 9 replies - 1 through 9 (of 9 total)
  • @modemlooper

    Moderator

    paste the contents of your page.php file here http://pastebin.com/ and then post the link to it. So we can see the structure.

    @visionvek

    Member

    Here is the pastebin link:

    http://pastebin.com/xSvZZPQL

    I have my site in maintenance mode, would you need to access it to take a look as well?

    Thanks

    @modemlooper

    Moderator

    Post up the header.php code as well. I think you might have a theme that has the main wrapper in the header file.

    @visionvek

    Member

    Here is the header code:

    http://pastebin.com/2P3Mg53k

    @modemlooper

    Moderator

    See if you remove this code from one of the BP template files. go into activity/index.php and remove these two things from top and bottom. See if this fixes issue. normally you would add your themes wrapper divs to the BP files but since they are in the header you may need to remove BP’s wrapper files.

    <div id="content">
         <div class="padder">

    ***** middle stuff here

          </div><!-- .padder -->
    </div><!-- #content -->

    @visionvek

    Member

    Didn’t work, my bp files didn’t have `

    `. I’m using the askit theme from elegant themes, so I’m going to see if anyone over at that forum has been able to get buddypress to work.

    @modemlooper

    Moderator

    ok you need to remove

    div id=container
    div id=content

    and replace it with

    div id=”main-area

    @allivant

    Member

    I’ve been staring at my templates and can’t figure out. I have firebug but I’m still not grasping it. Here is my template page.php:

    http://pastebin.com/embed_js.php?i=sC5GjnPw

    @allivant

    Member

    can someone help? i’ll paypal you something.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Sidebar pushed beneath container (dual container divs)’ is closed to new replies.
Skip to toolbar