[Plugin: BuddyPress Template Pack] Step 3 – fixing alignment – docs dont match templates
-
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!
- The topic ‘[Plugin: BuddyPress Template Pack] Step 3 – fixing alignment – docs dont match templates’ is closed to new replies.