Skip to:
Content
Pages
Categories
Search
Top
Bottom

Issue with BuddyPress pages and alignment

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

    Participant

    The thing is, the alignment is in all probability controlled by the styling set forth in your active theme’s style.css file. And, instead of posting the content of your style.css here, it would be easier for all concerned if you just post the URL of the affected webpage.

    @pcwriter

    Participant

    Take a close look at the nested divs: you’ve got a #content with a #container inside, then another #content inside that. That’s likely gonna throw stuff off.

    Also, check if the closing `` at the top of your file is an oversight, or if it’s required in your theme.

    @cybersnac

    Member

    mercime: the affected URL is http://cybersnac.net/members/cybersnac/activity/

    pcwriter: those nested divs are what I was speaking of when I said I have two with an id of “content”. the closing div is indeed required by the included header.php. I’ve tried removing the id content from either the first or the second nested div and also from both with no change in formatting from CSS.

    @mercime

    Participant

    @cybersnac

    Member

    @mercime this doesn’t seem to have made a difference. What were your thoughts around this, if I may ask?

    Same URL of course: http://cybersnac.net/members/cybersnac/activity/

    @cybersnac

    Member

    @mercime I just ran a compare in Notepad++ and I see what you did. I had tried that already as well ;)

    @mercime

    Participant

    @cybersnac, that’s the way it should be done. See https://codex.buddypress.org/theme-development/bp-template-pack-walkthrough-level-easy-2/

    Also, BP Template Pack has not been updated since Feb. 2010. See following thread for @hotforwords‘ BP Template Pack update https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/buddypress-template-pack-and-buddypress-1-2-6-things-break-but-i-have-a-solution

    @boonebgorges the text box area is only 25% on this page :-) why?

    @pcwriter

    Participant

    Looks like all that code up yonder has somehow done something wacky to this page!

    @gunju2221

    Participant

    This is because the code listed above has altered the page layout.

    @djpaul

    Keymaster

    Dudes!

    @djpaul

    Keymaster

    I had to guess the URL as the edit link was obscured, but all’s fixed now :) it annoys me so much that that is possible

    @gunju2221

    Participant

    Maybe a future feature would be “Syntax Highlighting” in the forums, because I get this too all the time in my forums.

    @mercime

    Participant

    Thank you @DJPaul. Haven’t experienced this behavior myself like @gunju2221 has. What’s the fix?
    Cheers.

    @gunju2221

    Participant

    @mercime, I haven’t pinpointed the exact piece of code that triggers it to do this. This is not just an issue with the buddypress forums as other forum software have this issue also, thats why most of them have syntax highlighting for code whenever the code tags are inserted, as syntax highlighting safely puts code inside of the highlight, as of without it, the webpage will attempt to apply that piece of code inserted into the layout of the page. Same with CSS. Occasionally, there is something that clashes with both, so you get the screwed up layout. Example of adding CSS directly to page via code no syntax

    Example CSS class through html implemented in forum post…

    Why does it do this? I have no clue!

    @djpaul

    Keymaster

    @mercime Basically the build of BuddyPress software on this website is pretty old. It has a bug where it doesn’t check for missing closing tags. As I have admin permission on the site, I went in and edited the post and corrected the markup. Don’t worry, this bug was fixed in the release versions of BuddyPress a few versions ago :)

    @johnjamesjacoby has indicated that he going to update the WordPress and BuddyPress versions on the site this weekend. That will make things much better, though will inevitably involve some downtime whilst the upgrade is performed.

    @mercime

    Participant

    @djpaul understood. thank you.

    @gunju2221 “Example of adding CSS directly to page via code no syntax” – looks good :-)

Viewing 16 replies - 1 through 16 (of 16 total)
  • The topic ‘Issue with BuddyPress pages and alignment’ is closed to new replies.
Skip to toolbar