Skip to:
Content
Pages
Categories
Search
Top
Bottom

BP overlapping sidebar/widget, need help with alignment


  • py2o3434
    Participant

    @py2o3434

    I am having a problem with BP overlapping my sidebar. I installed BuddyPress Template Pack and i am on step 3, however i do not know how to go upon with the fix alignment. Could someone help me with this coding? Or link me to some place to help resolve my issue?

    Thank you

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

  • py2o3434
    Participant

    @py2o3434

    Could someone tell me how i would edit my page.php?

    <?php get_header(); ?>

    <div class=”art-contentLayout”>

    <div class=”art-content”>

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    <div class=”art-Post”>

    <div class=”art-Post-tl”></div>

    <div class=”art-Post-tr”></div>

    <div class=”art-Post-bl”></div>

    <div class=”art-Post-br”></div>

    <div class=”art-Post-tc”></div>

    <div class=”art-Post-bc”></div>

    <div class=”art-Post-cl”></div>

    <div class=”art-Post-cr”></div>

    <div class=”art-Post-cc”></div>

    <div class=”art-Post-body”>

    <div class=”art-Post-inner art-article”>

    <h2 class=”art-PostHeader”>

    ” rel=”bookmark” title=”<?php printf(__(‘Permanent Link to %s’, ‘kubrick’), the_title_attribute(‘echo=0’)); ?>”>

    <?php the_title(); ?>

    </h2>

    <?php ob_start(); ?>

    <?php $icons = array(); ?>

    <?php if (!is_page()): ?><?php ob_start(); ?><?php the_time(__(‘F jS, Y’, ‘kubrick’)) ?>

    <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (!is_page()): ?><?php ob_start(); ?><?php _e(‘Author’, ‘kubrick’); ?>: <?php the_author_posts_link() ?>

    <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (current_user_can(‘edit_post’, $post->ID)): ?><?php ob_start(); ?><img src=”<?php bloginfo(‘template_url’); ?>/images/PostEditIcon.png” width=”14″ height=”14″ alt=”” />

    <?php edit_post_link(__(‘Edit’, ‘kubrick’), ”); ?>

    <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (0 != count($icons)): ?>

    <div class=”art-PostHeaderIcons art-metadata-icons”>

    <?php echo implode(‘ | ‘, $icons); ?>

    </div>

    <?php endif; ?>

    <?php $metadataContent = ob_get_clean(); ?>

    <?php if (trim($metadataContent) != ”): ?>

    <div class=”art-PostMetadataHeader”>

    <?php echo $metadataContent; ?>

    </div>

    <?php endif; ?>

    <div class=”art-PostContent”>

    <?php if (is_search()) the_excerpt(); else the_content(__(‘Read the rest of this entry »’, ‘kubrick’)); ?>

    <?php if (is_page() or is_single()) wp_link_pages(array(‘before’ => ‘<p>Pages: ‘, ‘after’ => ‘</p>’, ‘next_or_number’ => ‘number’)); ?>

    </div>

    <div class=”cleared”></div>

    <?php $icons = array(); ?>

    <?php if (!is_page()): ?><?php ob_start(); ?><?php printf(__(‘Posted in %s’, ‘kubrick’), get_the_category_list(‘, ‘)); ?>

    <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (!is_page() && !is_single()): ?><?php ob_start(); ?><img src=”<?php bloginfo(‘template_url’); ?>/images/PostCommentsIcon.png” width=”18″ height=”18″ alt=”” />

    <?php comments_popup_link(__(‘No Comments »’, ‘kubrick’), __(‘1 Comment »’, ‘kubrick’), __(‘% Comments »’, ‘kubrick’), ”, __(‘Comments Closed’, ‘kubrick’) ); ?>

    <?php $icons[] = ob_get_clean(); ?><?php endif; ?><?php if (0 != count($icons)): ?>

    <div class=”art-PostFooterIcons art-metadata-icons”>

    <?php echo implode(‘ | ‘, $icons); ?>

    </div>

    <?php endif; ?>

    </div>

    <div class=”cleared”></div>

    </div>

    </div>

    <?php comments_template(); ?>

    <?php endwhile; endif; ?>

    </div>

    <?php include (TEMPLATEPATH . ‘/sidebar1.php’); ?>

    </div>

    <div class=”cleared”></div>

    <?php get_footer(); ?>


    Xevo
    Participant

    @xevo

    Download Firefox and install firebug as an add-on.

    Other than that, we can’t do anything with a bunch of html/php when its most likely a css problem.

    Place an example link.


    py2o3434
    Participant

    @py2o3434

    http://openmba.org/peace/members

    The sidebar on the right is gone, and the member list is scattered.

    Meanwhile i will try firebug out.

    Thanks


    py2o3434
    Participant

    @py2o3434

    i got the sidebar to appear however it is below the content. Anyone know what is wrong?

    http://openmba.org/peace/members


    David Z
    Participant

    @agnarchy

    find bp.css and add a margin-bottom to the ul.item-list div.item (i had the same problem) and fixed it: http://agnarchy.com/members

    ul.item-list div.item {
    margin-left: 65px;
    margin-bottom: 40px;
    }


    Dudeski
    Participant

    @bikesbeijing

    I’m probably overlooking… but where do I find the bp.css file? My bp currently looks like this: http://www.bikesbeijing.com/forums


    Dudeski
    Participant

    @bikesbeijing

    Btw. I downloaded the add-on firebug. I can see this can be very useful, however I don’t know which codes to change. PLEASE help out!!!!!

    Thanks,
    Ralf


    shaheershahid
    Member

    @shaheershahid

    Dudeski, the bp.css file is located in wp-content/plugins/bp-template-pack .

    and David Z, was adding the bottom margin the solution to move the sidebar from BELOW to content to the SIDE, where it should be? because I’m having the same problem, I tried that and it didn’t work. My sidebar is still at the bottom. I don’t know if its a css problem, but it sure seems like that and I don’t know how to fix it.

    as u can see, it now ends the same way as the page.php does…but I don’t know if there are other problems to this html code or not. Can anybody help me out here and check if the problem is with this code?
    btw my site is http://writerselysium.thepantheonsociety.com . Opening the pages and posts shows the sidebar, but when opening a bp page, such as /members , the sidebar is BELOW the content.


    shaheershahid
    Member

    @shaheershahid

    Woops, ok now I feel like a noob. I jsut pasted the codes…and they appeared in a formatted form. How do I stop from that to happen, and jsut apste them as it is? =S


    shaheershahid
    Member

    @shaheershahid

    Ok I used pastebin. Here is the link to the code I posted first: http://pastebin.com/eLmbSMVC

    And here is the second code: http://pastebin.com/JrUjRzCK


    David Z
    Participant

    @agnarchy

    Hi Shaheershahid – I’m no expert in CSS but I can usually figure my way out of a problem with enough trial and error.

    For me, adding the margin-bottom resolved the issue of staggered/overlapping avatars in the member directory.

    the sidebar itself was being forced to the bottom of my page(s) because the width of the bp “container” div was too wide and so it was unable to render the sidebar properly without forcing it below the “container”. I look at your site right now and on the Register page the sidebar appears on the right. I think it looks like you have fixed the issue on your site, correct?

    hey guys I hope this forum is still fresh enough to post in.

    Im running into the same problem as both shaheershahid, and David Z. My sidebar is beneath everything.
    as you can see here http://thinksharebuild.com/members/Matt/activity/just-me/

    Im not sure which files I need to pastebin. But I would GLADLY do so.


    kees78
    Member

    @kees78

    Hi peeps,

    I am having the same problems after installing buddypress. My widgets and sign-in are at the bottem of the page.
    I tried to adapt the BP.css file but that didnt solve anything.
    Can somebody take a look at the site and tell me how to fix this?
    My knowledge of html and css is at beginner-level.
    See: http://www.learningculture.nl/wordpress/

    Thank you!

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘BP overlapping sidebar/widget, need help with alignment’ is closed to new replies.
Skip to toolbar