Skip to:
Content
Pages
Categories
Search
Top
Bottom

Style bbpress content pages, remove padding


  • RemcoH
    Participant

    @remcoh

    hi,

    My genesis theme adds a padding to .entry and therefore the content-sidebar pages have this padding too. It makes the forum content really narrow. I want to remove that padding. Only for forum pages and topics. How?

    The site is still in development but i included a url that shows the issue.

    WP version 4.2.2
    BBpres verion 2.5.7

    https://bfgv.nl/forums/onderwerp/dit-is-ook-een-test/

    Thnx

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

  • Robkk
    Moderator

    @robkk

    I think you solved your own issue here.


    RemcoH
    Participant

    @remcoh

    Hi, not yet.

    I changed that page to a fullwidth page. The issue with the padding remains. I tried to use some other css but that also effects the bbpress layout.

    See this page where the output is still with a padding: https://bfgv.nl/forums/zoeken/test/

    How can I remove the padding here without effecting the rest?


    Robkk
    Moderator

    @robkk

    Is this what you are looking for??

    #bbpress-forums .entry {
      margin-bottom: 40px;
      padding: 50px 0px;
    }
    

    RemcoH
    Participant

    @remcoh

    Hi, thnx.

    I tried this but it doesn’t have any effect. I think its because of the hierarchy. Entry is above the #bbpress-forums.


    Robkk
    Moderator

    @robkk

    Went to check again and I see you changed to full-width , so I am going to assume you solved your own problem??


    RemcoH
    Participant

    @remcoh

    Not yet. The problem is not with full-width pages but with content-sidebar pages:) https://bfgv.nl/forums/zoeken/test/

    Still cant figure out how to isolate the forum from the rest of the site’s css.


    RemcoH
    Participant

    @remcoh

    Update:

    I went another way. I removed the padding. It was also anoying on the blogpages. Now I added a custom body class to all other pages. So they look nice and the forum also…

    Thanks for thinking with me.

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