Hello, I have my own utility classes that I want to use inside Bricks Builder, and I have two questions:
Is there an API I can use so that I can import all my utility classes into Bricks via PHP code? Preferably they can be imported as ‘Locked’ selectors inside Bricks.
How can I load this CSS file inside Bricks? Presumably it’s via PHP code as well. I don’t want to put a Code block inside every Bricks page in order to load this CSS file.
Hi, regarding to Q1 above, what I meant is, I already have a bunch of CSS classes located in wp-content/uploads/base-framework.css, which is a file I wrote myself. However I want to use these classes in Bricks. (I want to add these classes into Bricks so that I can filter and select them inside Bricks, but the styling rules are not set in Bricks, rather they are handwritten and enqueued inside Bricks editor).
I can extract the class names out of base-framework.css, and I hope Bricks has an API so that I can use PHP to load them into Bricks builder.