Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Spacing issue on Members & Groups Pages – TheSource Theme

  • @foundsheepgmailcom

    Member

    I’m using a theme that is not BP approved. So I have a couple of wonky things going on. One being the spacing at the top of the content wells on Members and Groups. Also, I’d like to change the background of the BP content to white instead of none.
    Any help is appreciated. Thanks.

    http://www.thegomission.com/the-missions/

Viewing 13 replies - 1 through 13 (of 13 total)
  • @mercime

    Participant

    @foundsheepgmailcom Open up thesourcetheme’s header.php, copy code, paste code in pastebin.com, click submit and post the generated pastebin.com URI here. Do the same for thesource’s footer.php, sidebar.php, index.php and page.php

    @foundsheepgmailcom

    Member

    @mercime

    Participant

    @foundsheepgmailcom Based on the HTML structure of your theme, you’d need to use the first option, i.e., change 16 template files within the 6 BP folders transferred to your TheSource theme folder in server during the compatibility process.

    If you’ve previously changed any of the BP template files in your theme folder, replace all of them for a clean slate by deleting the 6 BP folders in server – /activity, /blogs, /forums, /groups, /members, and /registration – then re-run Appearance > BP Compatibility.

    Download the 6 clean BP folders to your computer hard drive.

    A. At the top of each of those 16 template files I linked to above, replace
    `

    `

    with
    `
    <?php if (get_option('thesource_integration_single_top') ” && get_option(‘thesource_integrate_singletop_enable’) == ‘on’) echo(get_option(‘thesource_integration_single_top’)); ?>

    <div id="top-shadow">

    `

    Save files.

    @mercime

    Participant

    B. At the bottom of the same 16 files, replace:
    `

    `

    with the following (except for registration/register.php):
    `

    `

    with the following for registration/register.php:
    `

    jQuery(document).ready( function() {
    if ( jQuery(‘div#blog-details’).length && !jQuery(‘div#blog-details’).hasClass(‘show’) )
    jQuery(‘div#blog-details’).toggle();
    jQuery( ‘input#signup_with_blog’ ).click( function() {
    jQuery(‘div#blog-details’).fadeOut().toggle();
    });
    });

    `

    Save files.

    C. Upload the 6 BP folders containing the 16 files you revised up to your server wp-content/themes/thesource/

    D. You might also want to check out the style modifications made in BP Twenty Ten for reference especially with removing the bullets and bringing in the extended width of the BP elements. https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/

    NOTES
    1. No guarantee that the breadcrumbs will work in BP pages.
    2. In each of 16 files, you might want to change the BP Templates’ page title’s header tag from `

    ` or `

    ..

    ` to `

    ..

    ` and move it above `

    `, just watch out when you do this in the /activity/index.php page.

    @foundsheepgmailcom

    Member

    Awesome, thanks. Is there a way to have the BP pages go full width? Right now all of them have sidebar active and it’s cutting it shorter than I would like.

    Thanks again!

    @mercime

    Participant

    @foundsheepgmailcom you need to paste the source code of your theme’s full page template and post the generated URI here.

    @foundsheepgmailcom

    Member

    I believe this is what you needed.

    http://pastebin.com/GqkuhcMy

    @mercime

    Participant

    Doesn’t look like the full width template because there’s still the “ near the bottom of the code your pasted.

    @foundsheepgmailcom

    Member

    Oops here you go…

    http://pastebin.com/esQ3Wjy6

    @mercime

    Participant

    Minor changes only to the 16 files you already revised to make full width pages:

    At the top replace
    `

    `
    with
    `

    `

    at the bottom of all 16 files including registration/register.php, delete

    save files and you’re good to go.

    @foundsheepgmailcom

    Member

    Super dupes. Looking good. Thanks a ton.

    Looks like the width is somewhat messed up. You’ll notice the drop down menu is getting cut off on all the BP pages.

    http://www.thegomission.com/the-missions/
    http://www.thegomission.com/the-trips/admin/activity/

    @mercime

    Participant

    == You’ll notice the drop down menu is getting cut off on all the BP pages. ==

    Do you mean the BuddyPress select/dropdwown box? If so, see my note in D) above where I mentioned “You might also want to check out the style modifications made in BP Twenty Ten for reference … ” Add those styles to the bottom of your theme’s stylesheet.

    @foundsheepgmailcom

    Member

    Oh yeah, now I gotcha. Looks like a champ. Thanks a million bazillions.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘[Resolved] Spacing issue on Members & Groups Pages – TheSource Theme’ is closed to new replies.
Skip to toolbar