NO BUG: Custom CSS in Class not taken

Browser: Brave v1.57.64 Chromium to 116.0.5845.188
OS: Windows.
URL: Audiotest – Testumgebung
Video: Loom | Free Screen & Video Recording Software | Loom

As you can see in the video I can apply the custom CSS without problems, once I want to use the custom CSS with a class it doesn’t apply the changes. I also tried to apply the styling of the class in the child theme. But it still doesn’t work.

What could be the problem?

Best regards

Hey Philipp,

thanks for your report.

There are some default styles on the audio element which are more specific than your custom class. Instead of just root { ... } please use root.brxe-audio { ... } instead to make the selector more specific.

Best,

André

Hi André

That didn’t work at all, with or without class. Here is a Screenshot:

Best
Philipp

Hey Philipp,

sorry. Please use root.brxe-audio { ... }. Updated my initial reply.

Best,

André

That worked perfectly!

Hey Philipp,

awesome. Glad I could help. :slight_smile:

Best,

André