Skip to:
Content
Pages
Categories
Search
Top
Bottom

Full width and sidebar


  • davidnsfw
    Participant

    @davidnsfw

    I have added this code to my css editor:

    .bbpress .post-section {
    	margin: 0 2% 20px;
    	width: 96%;
    }
    
    .bbpress #content-main {
    	width: 100%;
    	margin-right: 0;
    }

    But the left sidebar still shows up below the forum.

    http://bit.ly/1NQj9fO NSFW

Viewing 10 replies - 1 through 10 (of 10 total)

  • Robkk
    Moderator

    @robkk

    THis is all the CSS you need.

    .bbpress .post-section {
    margin: 0 2% 20px;
    width: 96%;
    }
    
    .bbpress #content-main {
    width: 100%;
    margin-right: 0;
    }
    
    @media screen and (max-width: 1002px) and (min-width: 768px)
    .bbpress #content-main-inner {
        margin-right: 0;
    }

    To remove the sidebar you have to follow this guide and remove the sidebar PHP code.

    Getting Started in Modifying the Main bbPress Template


    davidnsfw
    Participant

    @davidnsfw

    Probably after updating the theme, this sidebar is showing there.

    Can you be more precise where I should remove this code?


    davidnsfw
    Participant

    @davidnsfw

    ??


    davidnsfw
    Participant

    @davidnsfw

    I have added that code to css editor.

    It would be perfect if you could instruct how to remove sidebar step by step.


    Robkk
    Moderator

    @robkk

    Step by step might be this

    • Install What the File.
    • Go to your bbPress page with the sidebar, and with what the file activated you look in your WOrdPress toolbar and see what bbPress template file it is.
    • Then find the file in your theme, copy it and rename it to `bbpress.php’ and remove any unwanted code such as the sidebar code.</li>
      </ul>

      Usually in a theme the sidebar code is similar to this, so remove this to remove the sidebar.

      <?php get_sidebar(); ?>


    davidnsfw
    Participant

    @davidnsfw

    Thanks, actually I just copied the old bbpress.php from the old version of the theme.


    davidnsfw
    Participant

    @davidnsfw

    Some time ago you helped me to remove the voice count from the forum. I remember that I gave you my login information to my dashboard panel (I was contacting with you via mail) so I do not know how to do it.


    davidnsfw
    Participant

    @davidnsfw

    Ok, I found on this forum that I have to add this code to the css editor:
    .bbp-topic-voice-count {
    visibility: hidden;
    width: 20%;
    }

    I have done it, it works but how I can extend the topic title and freshness widths to make it look better?

    http://bit.ly/1NQj9fO NSFW


    Robkk
    Moderator

    @robkk

    This is what I used before.

    li.bbp-topic-voice-count {
        display: none;
    }
    
    li.bbp-topic-title {
        width: 65%;
    }

    davidnsfw
    Participant

    @davidnsfw

    Thanks.

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