Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Buddypress theme compatiblity help – Collection theme

Viewing 7 replies - 1 through 7 (of 7 total)
  • Avatar of Tammie
    Tammie
    Moderator

    @karmatosed

    It seems you need to set some widths and CSS adjustments to your theme’s CSS – this usually happens when doing theme compatibility as it’s not a simple case of drop in. As a starting point I would suggest:

    `#primary {
    padding: 0 0 0 20px;
    position: relative;
    width: 50%;
    float: left;
    }`

    Which will for instance on the activity page pop the main body up and keep the sidebars.

    Avatar of lakhlu
    lakhlu
    Member

    @lakhlu

    Thanks a lot karmatosed, seems like its going the right direction

    Karmatosed, maybe there is a way to apply this particular cs styling to those pages only? or just to “pages” in wordpress and not the main one as well as post types?

    Avatar of lakhlu
    lakhlu
    Member

    @lakhlu

    Can anyone hep me out with this one?

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @lakhlu late as this may be … Based on the HTML structure of your theme, you need to change 16 template files within the 6 BP folders transferred to your collection theme folder in server during the compatibility process.

    If you’ve previously changed any of the BP template files in your theme folder in server, replace all of them for a clean slate by deleting the 6 BP folders – /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 the following:
    `

    <div id="post-” >

    `

    Then, in each of 16 files, you’d like to change the BP Templates’ page title’s header tag from `

    ` or `

    ..

    ` to `

    // Titles Of Respective BP Page Templates //

    `, AND move tag and title to above `

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

    Save files.

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

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

    `

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

    <?php the_widget('WP_Widget_Text', 'title=Page Sidebar – Right&text=You could add some widgets in this area.', 'before_title=

    &after_title=

    ‘); ?>

    `

    with the following for registration/register.php:
    `

    <?php the_widget('WP_Widget_Text', 'title=Page Sidebar – Right&text=You could add some widgets in this area.', 'before_title=

    &after_title=

    ‘); ?>

    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’ve just revised to your server wp-content/themes/collection/

    D. Copy the style modifications made in BP Twenty Ten at http://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/ and paste to your theme’s stylesheet. Adjust to taste.

    Avatar of lakhlu
    lakhlu
    Member

    @lakhlu

    Thanks a lot mercime!

    You are a BP magi, thanks once again, it solved all my problems. I just need to play with css file now :)

    just have a look: http://kinogrill.org/members/
    http://kinogrill.org/members/showmeyourstyle/profile/

    Once again, thank you a lot!

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    You’re welcome :-) Marking this as resolved.

Viewing 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.