• Got to step 3 of the BP Compatibility wizard, where it states:

    Fixing Alignment

    By default BuddyPress templates use this HTML structure:

    [HEADER]

    <div id=”container”>
    <div id=”content”>
    [PAGE CONTENT]
    </div>

    <div id=”sidebar”>
    [SIDEBAR CONTENT]
    </div>
    </div>

    [FOOTER]

    But when I look at the any of the templates that the plugin added to my theme I see:

    ...
    		</div><!-- #content -->
    	</div><!-- #container -->
    
    	<?php locate_template( array( 'sidebar.php' ), true ) ?>
    
    <?php get_footer() ?>
    ...

    (taken from activity/index.php)

    So that produces markup like:

    [HEADER]

    <div id=”container”>
    <div id=”content”>
    [PAGE CONTENT]
    </div>
    </div>
    <div id=”sidebar”>
    [SIDEBAR CONTENT]
    </div>

    [FOOTER]

    which puts the sidebar outside the container div.

    Is the documentation in wizard wrong? or the templates? or my eyes?

    Thanks for the plugin anyhow, its really useful!

    http://wordpress.org/extend/plugins/bp-template-pack/

Viewing 1 replies (of 1 total)
  • I’ve been confused by this too so I’m no expert….but, I think you have your markup wrong.

    The example shows:

    [PAGE CONTENT]
    </div>
    <div id=”sidebar”>
    [SIDEBAR CONTENT]
    </div>
    </div>
    [FOOTER]

    In other words div container finishes after [SIDEBAR] – your mark up has (as you correctly say) div container finishing before SIDEBAR.

    Cheers

    Will

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: BuddyPress Template Pack] Step 3 – fixing alignment – docs dont match templates’ is closed to new replies.