Forum Replies Created
-
In reply to: New user here – basic coding support
Agree with Sarah here. You gotta edit CSS in your stylesheet. Your current theme’s CSS is loading from: /wp-content/themes/stylish-v1.1.1/styles/
In there you will find a number of stylesheets. But like Sarah said, you’re better off adding one stylesheet into a child theme and editing CSS there. Either way you shouldn’t have to edit any PHP just to change the colors. It’s all CSS.
Also, use Google Chrome’s inspector to find which styles to edit. It will make your life so much easier. https://developers.google.com/chrome-developer-tools/
In reply to: Showing “Item-body” on a different pageI think you’ll be fighting an uphill battle trying to do this with PHP in the editor. When you add PHP into a regular page, the page doesn’t realize it’s supposed to be running BuddyPress code and you may be missing some critical opening/closing PHP outside of the core messages code. You’ll probably need to set up an actual page template just for this and then set your WP page to use that template.
Looks good. Clearly a lot of custom work here.
In reply to: Making my theme plugin readyMost plugin compatibility issues are either JavaScript or some template conflict. For templates, inspect the code in /buddypress/bp-templates/bp-legacy/. Make sure you’re basically following that model if you are adding your own BP template files, because many plugins add template files to output their HTML and they are basing their HTML on the structure found at /bp-legacy/. Also keep in mind some older plugins use the structure from bp-default (with /_inc/ storing templates and assets) and these older plugins may break the layout in your theme. For JavaScript, some plugins rely on the JS that BuddyPress runs, so let it run.
In reply to: BuddyPress 2014 SurveyGlad you guys are doing these surveys. I’m excited to see the results.
In reply to: My BuddyPress Theme DevelopmentMy advice:
1. Don’t copy bp-default. It’s a very old theme and is being retired. Instead, model everything off of the bp-legacy files. They’re at /plugins/buddypress/bp-templates/bp-legacy/
When BuddyPress runs (1.7+) it is pulling in templates files and CSS and JS from this folder. You can replicate that folder structure to override any templates in there, like CSS, etc.
2. If you want to completely override the default CSS, you can remove the enqueuing of it entirely with this in your functions.php, so that you’re not loading your CSS in addition to BP default CSS.
wp_deregister_style( 'bp-child-css' ); wp_deregister_style( 'bp-parent-css' );3. Sounds like a nice plan of attack. I wouldn’t recommend using a separate stylesheet for every single component, because you’re going to end up with a ton of stylesheets which will be bad for performance. But if it makes your life easier to code this way, you can always combine all of the styles at the end. Also I think you may find that a lot of stuff overlaps between components. Like all directories are basically the same CSS (Member directory, Groups directory, etc.), and member profiles and single groups are basically the same CSS. So it may get redundant to separate by component. I would separate by directory, single item (profile, group), and then get specific for different “inner” content types – like messages, activity, etc.
To remove that for logged out users, go to Settings > BuddyPress > Settings. Make sure “Show the Toolbar for logged out users” is set to “No”. Then you’ll need a link somewhere for people to login/register. You can use the login widget packaged with BuddyPress 1.9+
In reply to: iPhone app for BuddyPressWould be awesome to at least have a nice iPhone ready theme available.
BuddyBoss is an iPhone / Android compatible theme for BuddyPress.
With BuddyBoss you can upload photos to your BP profile on a phone. Avatar uploads work too, but the native avatar cropper in BP could still use some work on mobile as it’s too big for some screens.
In reply to: mobile theme for buddypress?The BuddyBoss theme is made specifically to be super super mobile, with a stylesheet just for BuddyPress and one just for bbPress, making all of that content responsive.
In reply to: BuddyBoss Theme for BuddyPress — Wow!Hey guys! I’m the owner of BuddyBoss and just reading though these comments. We have a mobile version coming out August 15th. You can see the demo here: http://www.buddyboss.com/demo/
@flyveren Thanks for the compliments 🙂 We work hard to keep everything up to date. This new version is built around BuddyPress 1.7 / 1.8, the way BP now allows any WordPress theme to work with it. We rebuilt it as a standard WordPress theme with our custom features only used when BuddyPress is activated.