Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Fixing Alignment for Minimatica WP Theme


  • pfelberg
    Member

    @pfelberg

    Hi there!
    Please, I need some help to fix alignment issues of BuddyPress content with Minimatica Theme I´ve been using in my site.
    I´d like to use the secong option available, if possible: copying and renaming header.php; footer.php and sidebar.php. I already copied them, renamed but I can´t figure out exactly what to modify. Please, any help is appreciated.
    Here are my files:
    header: http://pastebin.com/vMQbcT0d
    sidebar: http://pastebin.com/u3en0Kf2
    footer: http://pastebin.com/kyeVxhz3
    Should I paste any other file?
    Thank you very much!!
    Paulo

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

  • @mercime
    Keymaster

    @mercime

    Your header.php pastebin url has no code pasted. You won’t need to paste index.php, page.php and re-paste header.php if this is the Minimatica theme you are referring to –> https://wordpress.org/extend/themes/minimatica
    Is it?


    pfelberg
    Member

    @pfelberg

    Yes, it is the one, @mercime ; )
    Can you help? ; ) I´ve noticed you helped so many others with the same difficulties ; )
    thank you!!!


    @mercime
    Keymaster

    @mercime

    @pfelberg I know you wanted the second option. But 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 Minimatica 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
    `

    <article id="post-” >

    `

    Save files.


    @mercime
    Keymaster

    @mercime

    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/minimatica/

    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/


    pfelberg
    Member

    @pfelberg

    @mercime thanks a lot.
    I did it all. BuddyPress required me to change 15 files, not 16.
    Everything seems aligned now, but there ´s something wrong with the register.php page link which is navigating back to the home page. I did that one twice, using a clean backup file I have. Same results.
    Clues?
    Again, thank you very much.


    @mercime
    Keymaster

    @mercime

    The correction in the number of files which needed to be changed was noted after the recent version was released. If you decide to change only 15 files, that’s up to you. You know what to do in case you encounter an unaligned page layout.

    == something wrong with the register.php page link which is navigating back to the home page. ==
    Did you enable registration for your single WP or WP multisite?


    pfelberg
    Member

    @pfelberg

    Sorry if I sound stupid, but I don´t know what to say now.
    I can´t recall enabling registration anywhere – you mean WP settings or Buddypress settings? I haven´t found nothing related to this so far.
    I have another sites in production, but linked to other accounts and hosted in different places. That´s a single WP site,


    @mercime
    Keymaster

    @mercime

    You have to enable registration in WordPress side. Go to dashboard menu > Settings > General — Membership – and check “Anyone can register”


    pfelberg
    Member

    @pfelberg

    Yes, that was already on. And still on.


    pfelberg
    Member

    @pfelberg

    My register.php file is at
    http://pastebin.com/WuC7sY6E

    thanks.


    @mercime
    Keymaster

    @mercime

    It was easier for me to paste and replace than check your pastebin.com, here’s code for register.php http://pastebin.com/GemBdJxB

    If registration still fails, change to bp-default theme and see if issue is corrected. If not, deactivate all plugins except BuddyPress.


    pfelberg
    Member

    @pfelberg

    Tested everything as requested.
    Same results ; (


    @mercime
    Keymaster

    @mercime

    – Btw, did you change Settings > Permalinks to something other than default ugly permalink?

    – BP/WP versions?


    pfelberg
    Member

    @pfelberg

    Permalinks set to “date and name”.

    Latest versions both.
    WP 3.3.1
    BP 1.5


    @mercime
    Keymaster

    @mercime

    If registration is not working even after you change to bp-default theme and deactivate all plugins except BuddyPress, then the issue is not related anymore with this topic which was supposed to fix the alignment of the Minimatica theme, which we have done. I am marking this topic as resolved.

    Please start a new topic for your registration issue/s – include information about your WP/BP versions again, single WP or WP multisite, Windows or Linux hosting or locally hosted, plus other information like steps to replicate the registration redirect to home page.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘[Resolved] Fixing Alignment for Minimatica WP Theme’ is closed to new replies.
Skip to toolbar