Jump to content
Sign in to follow this  
buddha

Buddypress

Recommended Posts

buddha

if i ever get my site working again, i do want to make it better. below are the instructions to align whitehouse pro pages correctly with buddypress. is there a simple custom css code that will edit the .php files below? ---------------------------------------------------------- by default buddpress templates use this html structure [HEADER] <div id="container"> <div id="content"> [page CONTENT] </div> <div id="sidebar"> [sIDEBAR CONTENT] </div> </div> [FOOTER] ------------------------------------------------------- If BuddyPress pages are not aligned correctly then you will need to modify some of the templates to match your theme's HTML structure. The best way to do this is to FTP to your theme's files at: /wp-content/themes/whitehousepro3_dev/ Then open up the page.php file (if this does not exist use index.php). Make note of the HTML template structure of the file, specifically the <div> tags that surround the content and sidebar. You will need to change the HTML structure in the BuddyPress templates that you copied into your theme to match the structure in your page.php or index.php file. The files that you need to edit are as follows (leave out any folders you have not copied over in step two): * /activity/index.php * /blogs/index.php * /forums/index.php * /groups/index.php * /groups/create.php * /groups/single/home.php * /groups/single/plugins.php * /members/index.php * /members/single/home.php * /members/single/plugins.php * /registration/register.php * /blogs/create.php * /registration/activate.php Once you are done matching up the HTML structure of your theme in these template files, please take another look through your site. You should find that BuddyPress pages now fit inside the content structure of your theme.

Share this post


Link to post
Share on other sites
cmunns

CSS is a separate entity from PHP and HTML that doesn't actually change the structure of the page. Basically you just need to place the contents of all those BuddyPress content inside of the #maincontent div. To get an idea of the structure you can look inside of _posts.php and template_posts.php

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  

×