JuKu / JuKuCMS

Open Source CMS should be the fastest CMS world wide (WIP).
Other
5 stars 1 forks source link

Bug: Wrong icon path in admin template #213

Open JuKu opened 5 years ago

JuKu commented 5 years ago

Fix path from icon in admin template.

dashboard

JuKu commented 5 years ago

CSS Code:

.main-header .sidebar-toggle:before {
  content: "\f0c9";
}

HTML Code:

<!-- Sidebar toggle button-->
<a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
    <span class="sr-only">Toggle navigation</span>
    <span class="icon-bar"></span>
    <span class="icon-bar"></span>
    <span class="icon-bar"></span>
</a>

Maybe it is a problem with ionicons: https://ionicons.com/v1/cheatsheet.html

JuKu commented 5 years ago

If i download the starter pack of AdminLTE and remove this line, the icon isn't shown anymore:

<link rel="stylesheet" href="bower_components/font-awesome/css/font-awesome.min.css">

So i think the icon depends on font awesome icons.

JuKu commented 5 years ago

@PascalReintjens I think the bug was produced by upgrade from font awesome icons v4.7.0 to v5.0.9 .

See also: https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-4

JuKu commented 5 years ago

See also this link: https://fontawesome.com/how-to-use/on-the-web/advanced/css-pseudo-elements