Site logo

Archived topic

How to make core buddypress.css work in child theme

1 reply · Started by Carsten on January 10, 2023

Viewing posts 1–2 of 2

Hi there, I want to edit the buddypress directly in the buddypress.css file.

So I created this path in my child theme: generatepress_child > buddypress > css > buddypress.css

from the original path: buddypress > bp-templates > bp-nouveau > css > buddypress.css

But the changes does not apply, not even if I add them to the core buddypress.css file.

In the buddypress bp-template core css folder there are som buddypress-companion-stylesheets I think they are called, for different themes,
like twentytwentytwo and twentytwentythree, do I need such a stylesheet for GeneratePress to make it work?

https://imgur.com/PHTjXIa

Thanks

Hi Carsten,

If you want to totally change a stylesheet of a plugin, you need to dequeue it first. Then, you can enqueue your own version of the stylesheet.

Here's a sample provided by Tom for divi-builder: https://generatepress.com/forums/topic/child-theme-stylesheet-enqueue-order-to-override-plugin/#post-1297309

You just need to find the handle of the stylesheet for BuddyPress to dequeue it properly. It would be best to reach out to BuddyPress regarding this.

This archived topic is closed to new replies.