Group Mods

  • Profile picture of @mercime
  • Profile picture of r-a-y
  • Profile picture of Hugo

[Resolved] Child Theme Styles in Buddypress 1.5.3 (4 posts)

Started 3 months, 2 weeks ago by: cornerstonecooking

  • Profile picture of cornerstonecooking cornerstonecooking said 3 months, 2 weeks ago:

    Hello,

    I’m trying to get a child theme installed on my installation of buddypress 1.5.3. As far as I can tell I’m doing everything exactly like the walkthrough here:

    http://codex.buddypress.org/theme-development/building-a-buddypress-child-theme/

    I added my new theme to the wp-content/themes folder and here is the header in my style.css file:

    /**
     * Theme Name: Cornerstone Theme
     * Theme URI: http://www.cornerstonecooking.com
     * Description: Theme for Cornerstone
     * Version: 1.0
     * Author: Nick Evans
     * Author URI: http://www.macheesmo.com
     * License: GNU General Public License
     * License URI: license.txt
     * Template: bp-default
     * Tags: buddypress, custom-background, custom-header, custom-menu, editor-style, featured-image-header, featured-images, fixed-width, light, right-sidebar, rtl-language-support, sticky-post, threaded-comments, translation-ready, two-columns, white
     *
     *
     */

    The new theme showed in my themes list and I was able to activate it.

    Now for the problem… it doesn’t look like any actual changes that I make to that new style.css file actually get loaded.

    In fact, I can’t even view the new style.css on the web. For example, if you go to:

    http://www.cornerstonecooking.com/wp-content/themes/cornerstone/style.css

    I get a page not found error. If I try to access the original default stylesheet then it loads:

    http://www.cornerstonecooking.com/wp-content/plugins/buddypress/bp-themes/bp-default/style.css

    SO something funky is clearly going on.

    I’ve also checked the permissions on the child theme style. It’s set to 775 right now which I think should be fine.

    I’m pulling my hair out… anyone have any tips or clues?

    THANKS!

  • Profile picture of dcavins dcavins said 3 months, 2 weeks ago:

    Are you using the BuddyPress Template Pack plugin? (http://wordpress.org/extend/plugins/bp-template-pack/) I used that and followed the procedure for adding BP compatibility to my theme that the plugin provides.

  • Profile picture of cornerstonecooking cornerstonecooking said 3 months, 2 weeks ago:

    Nope. Didn’t even know about that. Thanks! I’ll give it a shot and report back.

  • Profile picture of cornerstonecooking cornerstonecooking said 3 months, 2 weeks ago:

    Well, that helped I think although my child theme style still wasn’t loading at all.

    I solved it though by just downloading and installing a child theme off the buddypress website, uploading it, activating it, and then clearing out all the css/code for that child theme. For some reason that worked, but creating the folders from scratch didn’t.

    Oh well. Problem solved. Thanks for the tip on teh bp-template pack!