the icon styles are only loaded if you place an icon or use an icon in a bricks element. This keeps the styles as low as possible. If you want to use an icon in custom code, you need to include the styles manually.
On every page: bricks » settings » custom code » header scripts
Single Page / Post: settings (the little gear icon on the top left) » page settings » custom code » header scripts
This is helpful, thanks. However on this page of the Bricks Academy Asset Loading Optimization – Bricks Academy it shows how to enqueue the font awesome library if it needs to be loaded manually. This isn’t working though. I looked thru the Bricks code and the call should actually look like this: wp_enqueue_style( ‘bricks-font-awesome-6’ ); but it still doesn’t work (I tried with the -6 and without the -6).
I’d just rather use the Bricks function than hard-code using if possible. Any idea why the Bricks recommended enqueue isn’t working?
@rhkittredge The font icon styles are currently not registered, so the enqueue doesn’t have any effect. We’ll fix this next. In the meantime you can enqueue the icon font styles like this: