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.
$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">

1 Attachment

Responsive
 
Responsive replied on at Permalink Reply
Responsive
Anyone ?
jordif replied on at Permalink Reply
jordif
Hi,

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
andrew replied on at Permalink Best Answer Reply
andrew
Just a guess, but it looks like it's requested font awesome v4.0.3 – and fa-sliders is 4.1 and greater.
Responsive replied on at Permalink Reply
Responsive
Thanks Andrew :)