Home › Forums › Iconic One Pro Support › BuddyPress Full Width › Reply To: BuddyPress Full Width
Not sure if this tells us anything but I just noticed that choosing the (newly renamed) “buddypress” page template from within the WP dashboard for a given page on the site does not make it full width, whereas your standard full width option does.
In other words, selecting under Page Attributes the Full-width no sidebar page template for my pages DOES do what I’d like it to do (though of course only for static pages, not the other buddypress pages), whereas using the new “BP Full-width” brings back the sidebar.
The code for that buddypress.php file is here…
<?php
/**
* Template Name: BP Full-width Page Template, No Sidebar
*
* Description: Normal full width template.
*
* @package Iconic One Pro
*
* @since Iconic One Pro 1.0
*/get_header(); ?>
<div id=”primary” class=”site-content”>
<?php if($options[‘themonic_breadcrumb’] == ‘1’) { ?>
<?php if ( !is_front_page() ) { ?>
<div class=”themonic-breadcrumb”><?php iop_breadcrumb(); ?></div>
<?php } ?>
<?php } ?>
<div id=”content” role=”main”>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( ‘content’, ‘page’ ); ?>
<?php comments_template( ”, true ); ?>
<?php endwhile; // end of the loop. ?></div><!– #content –>
</div><!– #primary –>
<?php get_footer(); ?>
<style type=”text/css”>
.themonic-social-share {
padding: 8px 3px 5px 20px;
width: 102%;
}
</style>