Theme issue – Page alignment
I am finding it tough to fix pages in my website. I am using Snapwire theme by Gabfire company
Here is link to Buddypress Activity page
All pages that use BP have lost alignment.
Please help me fix the issue.
Thanks and appreciate help.
By alignment do you mean you want them to align to the left or right? Or do you mean you don’t want the page full width like it is. You have no styling on:
This probably is the cause of a lot of your issues if want that to control everything in it.
It’s a little hard to work out though what exactly you do want so if you could clarify please that would be great.
@mumbaipav initial scan of your theme’s source code looks like you only need to create two files to complate Step 3 of the BP Compatibility process. Open up your theme’s header.php file, copy all code, paste in pastebin.com, click submit and post the generated URI here. Do the same for index.php, page.php, sidebar.php and footer.php
I appreciate quick response. Let me give more details of the problem
Please check below links
So in non-BP pages I am able to keep sidebar in rightside or remove it completely if required
Whereas in BP pages sidebar is not in place, also I am not able to remove it completely. I would like to have both option. Keep sidebar in right side when required or remove it completely
Here is my BP page With sidebar displaced at the bottom
@mumbaipav you have activated the BP template pack plugin and need to complete of fix wrong implementation of Step 3 compatibility process. So as mentioned above
Open up your theme’s header.php file, copy all code, paste in pastebin.com, click submit and post the generated URI here. Do the same for index.php, page.php, sidebar.php and footer.php
== I would like to have both option. Keep sidebar in right side when required or remove it completely ==
@mumbaipav looking over your files, you’d have to make a decision, it’s either
A. Create only two files (which I can post later) and upload to snapwire theme folder in server for either
1. All BP templates with sidebar, or
2. All BP templates no sidebar
B. Revise 16 BP Template files for some BP templates with sidebar and some with no sidebar (full-width)
Btw, should you opt for full-width either way, post code of full-width page in pastebin.com
@mercime apologies for delay in responding
I would like to keep all BP pages with sidebar.
I really appreciate your help. Thank you once again!
@mumbaipav Based on the HTML structure of your theme, you will be only need to create two new files, header-buddypress.php and sidebar-buddypress.php to make the BP templates compatible with your theme.
If you’ve revised any of the BP template files transferred to your snapwire theme folder in server during the BP Compatibility process, please delete the 6 BP folders transferred to your snapwire 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 your theme’s 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:
`<div id="post-” >`
B. COPY your theme’s sidebar.php file and Save As > sidebar-buddypress.php
Open up the blank sidebar-buddypress.php file and at the very TOP of the file above other code, add this:
C. Upload header-buddypress.php and sidebar-buddypress.php to your theme folder in server wp-content/themes/snapwire/ in the same directory where your regular header.php and sidebar.php files are
D. Final note: Copy the style modifications for some BP elements http://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.
@mercime Thank you for all help and support! This has fixed the issue. I really appreciate the help.
I have question regarding sidebar – if I am not wrong it is showing Default sidebar. Is it possible to select which sidebar to show on BP pages ?
Thank you once again!
@mumbaipav you’re welcome. Sure you can use a different sidebar. For example you have a sidebar-mumbaipav.php, you copy that file and Save As > sidebar-buddypress.php then add the codes I posted above at the very TOP and at the very BOTTOM of that new file and upload to server.
You must be logged in to reply to this topic.