Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Avanue theme: Sidebar being pushed down, forum not there either

Viewing 9 replies - 1 through 9 (of 9 total)
  • @karmatosed

    Moderator

    Have you used the template pack for BuddyPress? You need to either use that or make your theme a child theme of BuddyPress default. This is because the theme you are using is not a BuddyPress compatible theme from what I can see.

    @workingman

    Member

    I added the files, but the alignment doesn’t seem to want to work for me. I tried copying what I need to copy and no go!
    Help is much appreciated @karmatosed

    @mercime

    Participant

    @workingman just so we can align the structure in one go, please post the codes for header.php, page.php, sidebar.php and footer.php as well.

    @workingman

    Member

    Footer: http://pastebin.com/xADvMKaz
    Header: http://pastebin.com/gsEAmsKH
    Page: http://pastebin.com/quKdw4z1
    Sidebar: http://pastebin.com/D2kGkkjU
    Thanks @mercime for the help, I very much appreciate it.

    @workingman

    Member

    Should be fun getting this going!

    @mercime

    Participant

    @workingman Based on the HTML structure of your theme, you will be only need to create two new files, header-buddypress.php and sidebar-buddypress.php to make the BP templates compatible with your theme.

    If you’ve revised any of the BP template files transferred to your avenue theme folder in server during the BP Compatibility process, please delete the 6 BP folders transferred to your theme folder in server – /activity, /blogs, /forums, /members, /groups, /register – then re-run Appearance > BP Compatibility again to make sure that you have clean template files.

    A. COPY your theme’s header.php and Save As > header-buddypress.php

    Open up header-buddypress.php and at the BOTTOM of the file, below other code contained within, add this:
    `

    `

    Save file.

    @mercime

    Participant

    B. COPY your theme’s sidebar.php file and Save As > sidebar-buddypress.php

    Open up sidebar-buddypress.php and at the TOP of the file, before all other code, add the following:

    ``

    Then at the very BOTTOM of the same file, below all other code, add the following
    `

    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 file.

    C. Upload header-buddypress.php and sidebar-buddypress.php to your theme folder in server wp-content/themes/avenue/ in the same directory where your regular header.php and sidebar.php files are

    D. Final note: Copy the style modifications for some BP elements https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/ and paste those at the bottom of your theme’s stylesheet, then adjust to taste.

    @workingman

    Member

    Thanks so much for the help, my site looks great now! check it out when you have the time: applarynx.com :) I really appreciate your time.

    @mercime

    Participant

    @workingman you’re welcome. Marking this topic as resolved :-)

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Resolved] Avanue theme: Sidebar being pushed down, forum not there either’ is closed to new replies.
Skip to toolbar