Save files.
[Resolved] Sidebar Alignment Issue for TheStyle Theme
-
I recently installed buddypress into my custom theme which is currently running fine. Once i enter a buddypress page, the sidebar is below the content. I have followed the steps for compatibility but cannot seem to find the piece of code i need to edit to get the sidebar back up to where it needs to be.
Here is a link to my activities page: http://www.letstalkmagazine.com/home/activity/
Please help! I’ve spent days looking through the forums and the solutions are not working for my specific theme.
-
@dsmndwng Open up thestyle theme’s header.php, copy code, paste code in pastebin.com, click submit and post the generated pastebin.com URI here. Do the same for thestyle’s footer.php, sidebar.php, index.php and page.php
I have a similar problem using a Wootheme template: http://174.120.139.67/~hollowea/community/
header.php: http://pastebin.com/6rP4Q8rT
footer.php: http://pastebin.com/gpx8gWjd
sidebar.php: http://pastebin.com/QpzqdPst
index.php: http://pastebin.com/pc7uwmce
page.php: http://pastebin.com/qyHhZ3CN@katandmouse please do not hijack this post. Start a new topic and include name of theme and theme’s demo uri plus the pastebin links you posted above.
I apologize @mercime. I actually thought it would help and eliminate the need for those wanting to help to have to address the same question in more than one thread. As a user I’d also like to find all the answers in one place, so again, I thought this would help.
But I followed your request. I posted my problem regarding Wootheme and BP here: For those using Wootheme and having this problem, I posted a question on that here: https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/sidebar-dropping-in-woothemes-diner/
@katandmouse It’s the best way to avoid confusion since you have a different theme and therefore a different solution which I posted in your new topic. Thank you for following instructions
Here you go. I really appreciate the help.
Header: http://pastebin.com/RpSr9DUv
Page: http://pastebin.com/qFNznwLB
Footer: http://pastebin.com/09qDHju0
Sidebar: http://pastebin.com/FgaPG6be
Index: http://pastebin.com/D4L6FE6r@dsmndwng 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 TheStyle 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
``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/thestyle/
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/
E. If you want to go the extra mile – In each of 16 files, you might want to change the BP Templates’ page title’s header tag from `
.. .
` or `
…
` to:
`//the respective page titles of the 16 template files//
`
Just watch out when you do this in the /activity/index.php page template.@mercime ! Worked like a charm! Thank you so much. Saved me hours and hours of headaches. Thanks again
You’re welcome Marking this as resolved.
Tengo esta plantilla. Voy a intentar a solucionarla segun se indica aquí. Un saludo Pilar
@pilarmontesluna Buena suerte. Háganos saber si usted tiene algún problema con las instrucciones. Gracias a google translate
Thank you very much, everything fantastic. Me ha funcionado estupendamente. Ha quedado divino. Y tambien gracias a google translate!!!!!!!!
Un saludo
Pilar@pilarmontesluna Bien hecho. Gracias por sus comentarios
- The topic ‘[Resolved] Sidebar Alignment Issue for TheStyle Theme’ is closed to new replies.