[Resolved] please help me correct my theme ! — Complete WP Theme
-
Hi
I have a simple problem
I use bp template plugin to change my own theme to bp theme . the only problem is that by own pages are e.g. 75% width but my bp pages are 100% . How can I change it ?
Thanks
-
Hi, unfortunately it is a little bit hard to give advice on how you should change it without seeing what you have had happen. Would it be possible to provide a link to your site?
Without a link my advice would be to look at your CSS ‘wrapper’ or page classes and see if any of those are impacting the widths. I would recommend using a tool such as Firebug or Inspector to do this in your browser.
Sure ! Thanks for your help .
http://www.risoman.com/activity/@mahdiar you need to match HTML structure of BP template files with your theme’s structure. Open up your theme’s header.php, copy all code, paste code in pastebin.com, click submit, and post the generated URI here. Then post the codes of your theme’s sidebar.php, index.php, page.php, and footer.php as well
Thanks mercime .
header : http://pastebin.com/r1tcLTin
sidebar: http://pastebin.com/2gqEQ04z
index: http://pastebin.com/28urQDxh
footer: http://pastebin.com/Fq3fZ6Wi
page: http://pastebin.com/CZ7RAdiL@mahdiar 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 complete theme folder in server during the BP Compatibility process, please delete the 6 BP folders transferred to your 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.
Code moved to http://wp.me/p1I84P-1n
Thank you very much mercime !
I did what you said completely but I got blank page. When I undelete the six folders the problem solved . I have one more question . Bottom of every post there are some buttons . All of them are correct except the reply one . It’s width is 100% !!== When I undelete the six folders the problem solved ==
Note that I said to delete the six BP folders in wp-content/themes/complete only If you’ve revised any of the BP template files transferred to your complete theme folder in server during the BP Compatibility process. If you did not make any revisions, then you do not have to delete the BP folders. Also, if you did delete the BP folders, then per instruction above, then run Appearance > BP Compatibility again to make sure that you have clean template files..
Not clear where the blank pages are. Even so, check out https://codex.buddypress.org/troubleshooting/blank-pages/
Thanks . Now I don’t have any problem except the one I said . I think maybe it is because of my rtl theme .
Add Firebug plugin if you’re using Firefox then right>click to “inspect Element”, and you’ll find out what style is making the button 100% width. If you use Google Chrome, just proceed to right click and “inspect element”.
Hi
There isn’t ” This field can be seen by: Anyone ” in the profile editing . I test the main theme and there is no problem .
How can I solve it ?I found the answer . I copy new files in bp-default theme to my own theme .
Re comment button issue you brought up in other post -> URL of page where issue appears. If it requires login, provide testuser username and password.
Hi Mercime,
I already follow your the steps tweaking Complete WP theme, the only problem are the buttons on my activity streams. are not align properly. here is my site: http://www.secretpaperbox.com/groups/
Please help, let me know a code of css where i can add on my style.css or bp.css.@micjavier provide testuser login info so I can see the buttons you’re referring to.
@mercime Hi Mercime, here’s a your test user login User: mercime Pass: qwerty12345
after you login go to this page: http://www.secretpaperbox.com/members/pulsemaggots/
You wil see in the Activity “Comments Button and Favorite” are meesed up, and now i cant even write a comment to someone. Please help. Thanks in advance.@micjavier Your theme has default button.span that’s display: block which stretched out BP’s span tag. To resolve the issue, add this to your stylesheet
`a.bp-primary-action span,
#reply-title small a span {
display: inline;
}`Thanks a lot mate. it works. thanks again.
- The topic ‘[Resolved] please help me correct my theme ! — Complete WP Theme’ is closed to new replies.