Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbPress page alignment after R sidebar removal

  • @macms

    Participant

    I have read other posts regarding the alignment of bbPress after removing the R side bar in a theme. I would like to center the forum on this page. Any help would be appreciated.

    Thanks!

    http://copdcommunity.org/forums/

    WP version 4.4
    Theme Twenty Sixteen 1.0
    bbPress version 2.5.8-5815
    bbp style pack 2.8.4
    bbP Toolkit 1.0.5

    I created bbpress.php and placed it in the theme root dir to remove the R sidebar.

    <?php
    get_header(); ?>
    <div id="main-content">
    	<div class="container">
    		<div id="content-area" class="clearfix">
    			<div>
    			<?php while ( have_posts() ) : the_post(); ?>
    				<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    					<h1 class="main_title"><?php the_title(); ?></h1>
    					<div class="entry-content">
    					<?php the_content(); ?>
    					</div> <!-- .entry-content -->
    				</article> <!-- .et_pb_post -->
    			<?php endwhile; ?>
    			</div>
    		</div> <!-- #content-area -->
    	</div> <!-- .container -->
    </div> <!-- #main-content -->
    <?php get_footer(); ?>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar