full width and remove sidebar
-
Hi guys,
I tried everything to remove sidebar and use the full width but without luck. I have the main forum page as I want but topics and replys contain the sidebar. I can hide it but not get the full width.
What can I do?
I´m using Newspaper 10.3.7
https://www.farobursatil.com/foro/ –> this is OK
https://www.farobursatil.com/foro/trading-algoritmico/ –> this is with the sidebar what I want to remove 🙁
Viewing 4 replies - 1 through 4 (of 4 total)
-
Thanks Robin, I check that a bbpress.php was created with this code:
<?php get_header(); ?> <div class="td-main-content-wrap td-main-page-wrap td-container-wrap"> <div class="td-container"> <div class="td-pb-row"> <div class="td-pb-span8 td-main-content"> <div class="td-ss-main-content"> <?php if (have_posts()) { while ( have_posts() ) : the_post(); ?> <h1 class="entry-title td-page-title"> <a href="<?php the_permalink()?>" rel="bookmark" title="<?php the_title_attribute() ?>"><?php the_title() ?></a> </h1> <?php the_content(); endwhile; //end loop } ?> </div> </div> <div class="td-pb-span4 td-main-sidebar"> <div class="td-ss-main-sidebar"> <?php dynamic_sidebar( 'td-default' ) ?> </div> </div> </div> <!-- /.td-pb-row --> </div> <!-- /.td-container --> </div> <?php get_footer(); ?>
And I change with for this code:
<?php get_header(); ?> <div class="td-main-content-wrap td-main-page-wrap td-container-wrap"> <div class="td-container"> <div class="td-pb-row"> <div class="td-pb-span8 td-main-content"> <div class="td-ss-main-content"> <?php if (have_posts()) { while ( have_posts() ) : the_post(); ?> <h1 class="entry-title td-page-title"> <a href="<?php the_permalink()?>" rel="bookmark" title="<?php the_title_attribute() ?>"><?php the_title() ?></a> </h1> <?php the_content(); endwhile; //end loop } ?> </div> </div> </div> <!-- /.td-pb-row --> </div> <!-- /.td-container --> </div> <?php get_footer(); ?>
I refresh cache but nothing happends. Any idea?
Thanks! I just solve it. Newspaper have a easy way to do it: https://www.screencast.com/t/mBpKNTzt
great – glad you are fixed
Viewing 4 replies - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.