Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] please help me correct my theme ! — Complete WP Theme

  • Profile photo of mahdiar
    mahdiar
    Participant

    @mahdiar

    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

Viewing 18 replies - 1 through 18 (of 18 total)
  • Profile photo of Tammie Lister
    Tammie
    Moderator

    @karmatosed

    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.

    Profile photo of mahdiar
    mahdiar
    Participant

    @mahdiar

    Sure ! Thanks for your help .
    http://www.risoman.com/activity/

    Profile photo of @mercime
    @mercime
    Moderator

    @mercime

    @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

    Profile photo of mahdiar
    mahdiar
    Participant

    @mahdiar

    Profile photo of @mercime
    @mercime
    Moderator

    @mercime

    @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.

    Profile photo of @mercime
    @mercime
    Moderator

    @mercime

    Code moved to http://wp.me/p1I84P-1n

    Profile photo of mahdiar
    mahdiar
    Participant

    @mahdiar

    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% !!

    Profile photo of @mercime
    @mercime
    Moderator

    @mercime

    == 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/

    Profile photo of mahdiar
    mahdiar
    Participant

    @mahdiar

    Thanks . Now I don’t have any problem except the one I said . I think maybe it is because of my rtl theme .

    Profile photo of @mercime
    @mercime
    Moderator

    @mercime

    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”.

    Profile photo of mahdiar
    mahdiar
    Participant

    @mahdiar

    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 ?

    Profile photo of mahdiar
    mahdiar
    Participant

    @mahdiar

    I found the answer . I copy new files in bp-default theme to my own theme .

    Profile photo of @mercime
    @mercime
    Moderator

    @mercime

    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.

    Profile photo of micjavier
    micjavier
    Participant

    @micjavier

    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.

    Profile photo of @mercime
    @mercime
    Moderator

    @mercime

    @micjavier provide testuser login info so I can see the buttons you’re referring to.

    Profile photo of micjavier
    micjavier
    Participant

    @micjavier

    @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.

    Profile photo of @mercime
    @mercime
    Moderator

    @mercime

    @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;
    }`

    Profile photo of micjavier
    micjavier
    Participant

    @micjavier

    Thanks a lot mate. it works. thanks again.

Viewing 18 replies - 1 through 18 (of 18 total)
  • The topic ‘[Resolved] please help me correct my theme ! — Complete WP Theme’ is closed to new replies.
Skip to toolbar