I am trying to make the glyphicon display. It is part of a side nav and the arrow head rotates down... pretty standard barebones kinda thing.
Link to page: http://www.nickysfolders.com/nicky-s-communicator-english.aspx?SessionThemeID=34#
The glyphicon should be on the "Nicky's Folders" top level title on the side nav.
This is the really cool snippet I adapted to get the dropdown function and arrow animation... pretty cool. awesome, very very lightweight, portable solution to side nav dropdowns
Things I have already tried:
I have tried moving the span around within the html and it won't display
I have put a color on it (all in DevTools)
I have looked up common problems involving glyphicons not displaying (most common... yes I am loading 3.2 from the max cdn already).
I bet it is just a simple mistake I am making...
As you can see the glyph icons in the fiddle work (unfortunately js doesn't yet):
https://jsfiddle.net/vaughnick/f4gkxx4n/
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<style>
[data-toggle="collapse"][aria-expanded="true"] > .js-rotate-if-collapsed {
-webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg);
-ms-transform: rotate(90deg);
-o-transform: rotate(90deg);
transform: rotate(90deg);
}
</style>
</head>
<body>
<div id="accordion" style="cursor: pointer" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false">
<span class="glyphicon glyphicon-triangle-right js-rotate-if-collapsed"></span>
<a href="#">Nicky's Folders<span class="small-reg">®</span></a>
<hr class="half-rule" />
<ul id="collapseExample" class="collapse">
<li style="cursor: pointer" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false">
<span class="glyphicon glyphicon-triangle-right js-rotate-if-collapsed"></span>
<a href="#">2-Pockets</a>
<ul id="collapseExample" class="collapse">
<li><a href="#">Nicky's<span class="small-reg">®</span>Version II<small>(NF VER II)</small></a></li>
<li><a href="#">Nicky's<span class="small-reg">®</span>Communicator</a>
<ul>
<li><a href="#">English</a></li>
<li><a href="#" style="overflow: wrap;">Spanish Multilanguage</a></li>
</ul>
</li>
<li><a href="#">Nicky's<span class="small-reg">®</span>Class Work</a></li>
<li><a href="#">Nicky's<span class="small-reg">®</span>Homework</a></li>
<li><a href="#">Nicky's<span class="small-reg">®</span>CPA</a>
<ul>
<li><a href="#">Version 10</a></li>
<li><a href="#">Version 11</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</body>
</html>
Thanks for any advice/help! :)