Dashboard Icon not showing
Permalink
In 5.7 I provided an asset shipped in my theme as follows and this seemed to work ok as only retrieving the font-awesome once in the source code.
However when in the page in edit/non edit the icon (class="fa fa-sliders") does not show. see screenshot attached, not sure why ?
my theme uses the
$this->providesAsset('css', 'font-awesome');
However when in the page in edit/non edit the icon (class="fa fa-sliders") does not show. see screenshot attached, not sure why ?
my theme uses the
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
Anyone ?
Hi,
maybe you could try the opposite: removing font-awesome from the header and adding this to your page_theme.php file:
(This is what the elemental theme does and it seems to work fine)
Jordi
maybe you could try the opposite: removing font-awesome from the header and adding this to your page_theme.php file:
$this->requireAsset('css', 'font-awesome');
(This is what the elemental theme does and it seems to work fine)
Jordi
Just a guess, but it looks like it's requested font awesome v4.0.3 – and fa-sliders is 4.1 and greater.
Thanks Andrew :)