Have you tried doing what the article suggests? i.e putting this in your theme’s functions.php file:
if ( !function_exists( 'bp_dtheme_enqueue_styles' ) ) :
function bp_dtheme_enqueue_styles() {}
endif;
Hi Henry! Thanks for taking some time with this.
I have tried that, but have limited knowledge of php, so the whole thing crashed. I copied the function.php file from buddypress, put it in the child theme’s folder, and then inserted the code after the initial <?php. It crashed. So then I cut it, and put it at the end, it just displayed the text, so then I cut it and put it right before the final ?>
I’m doing something wrong, just can’t figure it out.
You need to start with an empty functions.php file in your child theme folder.
e.g.
<?php
// put whatever you want here
?>
So the code in the file would be this?
<?php
if ( !function_exists( ‘bp_dtheme_enqueue_styles’ ) ) :
function bp_dtheme_enqueue_styles() {}
endif;
?>
@poetrybyjade yes, following the instructions in the article, that is exactly what I would do. Did it work?
Hmm, it doesn’t seem to be working.
I added more code to my style.css file but the parent is still overriding.
I don’t know where to go from here. I might just push the brakes on this for a bit. Thank you so much for your help. I really appreciate you taking the time!
@poetrybyjade no problem. Might be worth trying again at some point though. I just tested and it works for me.