• lattesandstories

    (@lattesandstories)


    Hello!

    I’m in need of assistance when it comes to customizing the margins of my Forums page on my site. The plugin I’m using for my forum is BBpress, and I’m using a child theme of Sela. Following the set-up instructions for BBpress, I gave bbpress it’s own bbpress.php page template file in my theme’s folder and it works perfectly fine. I made a duplicate of Sela’s Full Width Page template and used that as the .php for bbpress.

    I’m looking to adjust the margins, however, to make the forum wider (there’s too much white space on both sides of the content). I’ve scoured Google for tutorials on how to 1) adjust the margins of a single page using CSS and 2) adjust the margins within a page template. Neither have worked, though :/ I’m at a loss as what to do next, and I’m rather a newbie at coding, so I have no idea how to edit a page template php in order to adjust the margins within a page template (even though I followed the tutorial I found very closely). I’ve tried many different CSS codes that I’ve found on online tutorials, and yet none of those are working, either.

    I would just like to decrease the margins/padding on both sides of the forum content so the forum isn’t so compacted in the middle. Can anyone help me, please?

    Thank you!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Kathryn Presner

    (@zoonini)

    Hi @lattesandstories – how about this:

    .bbpress .content-wrapper.full-width {
      width: 95%;
    }
    
    .bbpress .content-wrapper.full-width.without-featured-image {
      margin: 0;
    }

    Let me know how it goes!

    Thread Starter lattesandstories

    (@lattesandstories)

    Yes, THANK YOU Kathryn! This worked beautifully; I have no idea what I was doing wrong, so thank you for your help! ??

    [EDIT:] Okay, so actually there’s a little problem: the code works lovely on the main forum page, but when I click on a thread, the box starts where the original margins were and goes off of the page on the right side. You can see it here:
    https://lattesandsilverprose.com/forum/welcome-to-the-fam/

    If there’s a way to fix this, I would greatly appreciate your assistance again! Thank you!

    • This reply was modified 7 years ago by lattesandstories. Reason: Discovered an error on the thread pages
    Moderator Kathryn Presner

    (@zoonini)

    Hmm – try just removing

    .bbpress .content-wrapper.full-width {
      width: 95%;
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘(BBPress + Sela) Customizing Margins’ is closed to new replies.