Skip to:
Content
Pages
Categories
Search
Top
Bottom

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


  • 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)

  • Tammie Lister
    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.


    mahdiar
    Participant

    @mahdiar

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


    @mercime
    Keymaster

    @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


    mahdiar
    Participant

    @mahdiar


    @mercime
    Keymaster

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


    @mercime
    Keymaster

    @mercime

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


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


    @mercime
    Keymaster

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


    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 .


    @mercime
    Keymaster

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


    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 ?


    mahdiar
    Participant

    @mahdiar

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


    @mercime
    Keymaster

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


    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.


    @mercime
    Keymaster

    @mercime

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


    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.


    @mercime
    Keymaster

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


    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