Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Alignment Issues – Smileth theme

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

    Participant

    @roguedjinni thank you for following directions. Per initial scan, I would like to check out what goes where with the theme-specific codes you have there so that we don’t keep going back to the drawing board in case structure goes awry. I cannot find any online demo of your theme, can you post your site url or another site online that has this theme on?

    @roguedjinni

    Participant

    http://www.modelunion.org/register <—-the categories are coming up into the form. One of the main problems :(

    @mercime

    Participant

    @roguedjinni did you want the index.php two-column layout (with sidebar -> categories) or the page.php layout with full-width?

    @roguedjinni

    Participant

    I liked the columns on the side. I’m not sure how else to answer…I’m pretty new at this.

    @mercime

    Participant

    @roguedjinni Based on initial scan, you only need to create two new files, header-buddypress.php and sidebar-buddypress.php to make your theme compatible with BuddyPress,

    If you’ve revised any of the BP template files transferred to your smileth theme folder in server during the BP Compatibility process, please delete the 6 BP folders transferred to yoursmileth 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 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: [UPDATED]
    `

    Content

    `

    Save file.

    @mercime

    Participant

    B. Copy sidebar.php and Save As > sidebar-buddypress.php

    Open up sidebar-buddypress.php and at the top, above all code contained within, add this
    [UPDATED]
    `

    `

    Then at the bottom of sidebar-buddypress.php, below all other code, add this:
    `

    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/smileth/ at the same directory where your regular header.php and sidebar.php are in

    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.

    @roguedjinni

    Participant

    YOU ARE A GENIUS!!! Thank you so much! It looks great!

    @mercime

    Participant

    @roguedjinni Thank you. But I just checked out your site and we need to make adjustments by deleting `

    ` in header-buddypress.php and a closing `

    ` at the top of the sidebar-buddypress.php. Save files and re-upload to server. I’ve updated the codes above for the both deletions.

    @roguedjinni

    Participant

    @mercime, I did, and now it looks weird!

    @roguedjinni

    Participant

    Nevermind, it hadn’t fully updated! looks great.

    @mercime

    Participant

    @roguedjinni reminder on the final note to copy modifications in your stylesheet per my post above so layout will look better.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Resolved] Alignment Issues – Smileth theme’ is closed to new replies.
Skip to toolbar