Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1004615
    Jeremy P
    Participant

    How would I omit my main sidebar from a forum?

    #1004616
    Jeremy P
    Participant

    All forums, actually

    #1004621
    Rupok
    Member

    Hi there,

    Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL (exact URL of your forum pages). This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    #1005491
    Jeremy P
    Participant

    http://smartnutrition.ca/forums/forum/happy-healthy-eaters/

    That’s the specific forum I’m working on right now, but any under http://smartnutrition.ca/forums/

    #1005501
    Rupok
    Member

    Hi there,

    Thanks for the URL. You can add this under Custom > CSS in the Customizer.

    .forum.bbpress .x-sidebar {
      display: none;
    }
    
    .forum.bbpress .x-main.left {
      width: 100%;
    }

    Hope this helps.

    Cheers!

    #1005502
    Rahul
    Moderator

    Hi There,

    To remove the sidebar on the forum’s pages, try adding the following CSS under Customize > Custom > CSS:

    body.bbpress {
        background-color: #fff;
    }
    body.bbpress aside.x-sidebar.right {
        display: none;
    }
    body.bbpress .x-main.left {
        width: 100%;
    }

    Hope it helps 🙂

  • <script> jQuery(function($){ $("#no-reply-1004615 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>