Disable any font loading (fontawesome for ex)

Hello,

I am already loading Fontawesome with the enqueue function in functions.php.

Is it possible to tell Bbealder too do not load any other css than his page css layouts ?

Hi Adelino,

I have already assigned someone from the development team to check this.

Ben

Thanks for you reactivity

Hi Adelino,

You can turn off other font icon libraries in the page builder settings. To access that, visit your dashboard > settings > page builder > icons. You will see the ability to toggle off all font icon libraries there. Let us know if that helps!

Best,
Billy

Yes, i have tried.

But when i disable all fonts, i receive a “you must at least have one set active” message (translated from french)

Ah, gotcha. Might I ask why you would enqueue the fonts as opposed to using the page builder settings there?

Best,
Billy

I have first created my theme with the Underscores Starter theme.

Very clean theme start, only the basics, and that’s what i wanted because even if i used a good themeforest premium theme for 2 years, and also tried 2 / 3 of them, the idea that a theme is loading options, css, scripts ans so on that i would never use and cause of that loose loading speed for nothing make me feel unhappy :-p

So, as i was creating my theme, and i needed fontawesome for some visual icons.

Only then, when i finished to prepare my theme, i installed Bbuilder wich i discovered during the process because i was unhappy with visual composer. Even if i think it’s a goog page builder, when i compare and see yours, well : two worlds.

The clean aspect of BB is what i wanted. Good modules, basics and extras ones, and also, it leaves almost noting when you disable it.

Also,

I have tried to only use BB fontawesome option and retire the functions.php enqeue fontawesome.

But if i do so, the fontaweome icons that i had on some html data do not appear like they do not see that BB is loading fontawesomme css and fonts.

Hi Adelino,

I see where there could be a discrepancy here to where you would need both. BB only loads the fontawesome CSS if an icon is present on any given page for efficiency. Unfortunately, only using the BB fontawesome option in that case to where there isn’t an icon present would render other icons in HTML as you mention not available. So, in short, go ahead and do both. The good news is, both will not get loaded, it would be one or the other. Hope that helps!

Best,
Billy

Yes !

This is it. As you said, i add an icon with BB and disable the enqueing function : it works :slight_smile:

Thanks.

Excellent, thanks!

Not sure if this works, but another option:
https://wordpress.org/plugins/dequeue-font-awesome/

Thanks for this help,

I choose to leave fontawesome with BB. Easy fo find a reason for an icon on every page.

Thanks again.