Ionicons was working and suddenly stopped working, i have no idea whats the problem, any ideas? I tried to remove the lead mr-2 but is still not working.
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css?family=Muli:300,700&display=swap" rel="stylesheet">
<div class="d-flex">
<div id="sidebar-container" class="bg-primary">
<div class="menu">
<a href="#" class="d-block text-light p-3"><ion-icon name="radio-button-off-outline lead mr-2"></ion-icon>Singles</a>
<a href="#" class="d-block text-light p-3"><ion-icon name="radio-button-off-outline lead mr-2"></ion-icon>Doubles</a>
<a href="#" class="d-block text-light p-3"><ion-icon name="radio-button-off-outline lead mr-2"></ion-icon>Lower Thirds & Commentators</a>
<a href="#" class="d-block text-light p-3"><ion-icon name="podium-outline lead mr-2"></ion-icon>Bracket Top8</a>
<a href="#" class="d-block text-light p-3"><ion-icon name="trophy-outline lead mr-2"></ion-icon>Results</a>
<a href="#" class="d-block text-light p-3"><ion-icon name="document-text-outline lead mr-2"></ion-icon>Extras</a>
<a href="#" class="d-block text-light p-3"><ion-icon name="cog-outline lead mr-2"></ion-icon>Settings</a>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/ionicons.js"></script>
You shouldn't put class names in (ion-icon name attribute)
This is your tag:
This is the solution:
Here's a full working demo: