Jump to content
Sign in to follow this  
kevinobrien

bbpress Styling Issues:features and boxes

Recommended Posts

kevinobrien

I've read through a number of threads and can't seem to figure this out. I have bbpress integrated with platform pro and have also installed platform base. All is good except I can't seem to be able to remove the features and boxes from the page: www.wolfhirschhorn.org/forum. Here is what I've tried in the custom code section AND in the base/css: #bbforum #feature{display:none} #bbforum #boxes{display:none} Still no luck.

Share this post


Link to post
Share on other sites
timlinson

bbpress pages are supposed to have a bbpress body class dynamically added, but I don't see it on your page. You'll want a body class like that so you can use `.bbpress` as a selector to target the forum. Did you follow all the installation/integration steps here? http://www.pagelines.com/docs/bbpress-forums

Share this post


Link to post
Share on other sites
rossjlennox

Hi Tim, I helped Kevin with the install, and yes I followed the install instructions and added the `require_once(dirname(__FILE__) . '/../wp-load.php');` line to the bb-config.php file to allow 'deep integration'. Can you give any pointers as to how I would go about creating a bbpress body class? Thanks, Ross

Share this post


Link to post
Share on other sites
rossjlennox

Many thanks Adam, this looks like great advice but it's a bit over my head... I have read through the links you sent but would really appreciate if you could be even more explicit with exactly what I need to do. I understand I need to copy and paste the below into my ../platformpro/functions.php file, presumably replacing class-name with bbforum (?) ` // Add specific CSS class by filter add_filter('body_class','my_class_names'); function my_class_names($classes) { // add 'class-name' to the $classes array $classes[] = 'class-name'; // return the $classes array return $classes; } ` But other than that I'm at a bit of a loss as to how to proceed. As you can no doubt tell I am very new to this and really appreciate your help.

Share this post


Link to post
Share on other sites
rossjlennox

Thanks once again for all your help on this, but I think we have found another way round our problem... The way the templates were set up, the Features and Boxes sections were added into the Site Header template as opposed to one of the Page Templates - which explains why ticking the Hide PageLine Features or Hide PageLines Boxes tick boxes for any given page had no effect. Features and Boxes now moved to the default page template and they can be hidden/shown without any issue. Cheers, Ross

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×