Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbpress full width help (removal of sidebar)


  • jamborambo7
    Participant

    @jamborambo7

    Hello everyone,

    I am having an issue with trying to make my bbpress forum full-width. I’ve looked through several troubleshooting guides and nothing has seemed to work. I am using Marketica theme with bbpress plugin.

    From this link below:
    https://codex.bbpress.org/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/
    I’ve located the file it is pulling from (through What the File plugin) and it is from bbpress.php (since I copied a page.php file and renamed it to bbpress.php and added it into my Marketica child theme) file directory.

    I then changed the style.css file in the Marketica child theme and injected:

    .bbPress #primary {
    display: none;
    }
    .bbp-forums {
    width: 100%;
    }

    I’ve tried other css stylings that I found online and nothing seems to have worked. Can someone please help me? I’m running out of ideas! Thank you all in advance.

Viewing 1 replies (of 1 total)

  • mtupuschies
    Participant

    @mtupuschies

    Hi,
    try the following:

    1. In your themes folder create a new folder called “bbpress”
    2. Then go to: ../wp-content/plugins/bbpress/templates/default/extras
    3. Copy all these files into the folder you created in step one.
    4. Edit the files in ../wp-content/themes/marketica/bbpress:

    Every file in there has the line (close to the bottom):
    <?php get_sidebar(); ?>
    Change this to:
    <?php /*get_sidebar();*/ ?>

    This should completely hide the sidebar. Otherwise maybe contact the author of the theme. Maybe the theme already contains forum template which may overwrite the bbpress originals.

    Hope I could help!

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar