I am trying to make an ecommerce store in codeigniter frameworks. I have downloaded a template and converted it according to the code igniter file systerm. I have separated header and footers. There is a controller that loads the index.php page. Now the problem is that none of my glyphicons are working.
This is how I have linked bootstrap
<link href="<?php echo base_url();?>css/bootstrap.css" rel="stylesheet" type="text/css" media="all" />
and there is this icon coded in the same file like this
<div class="w3l_login">
<a href="#" data-toggle="modal" data-target="#myModal88">
<span class="glyphicon glyphicon-user" aria-hidden="true"></span>
</a>
</div>
All the folders for js, css and images are at the root directory exactly where the folders like application and system folder recides. All the css and js effects are being loaded by this but only the glyphicons are causing trouble. How do I solve this?
This is how glyphicon fonts are being loaded
@font-face {
font-family: 'Glyphicons Halflings';
src: url('../fonts/glyphicons-halflings-regular.eot');
src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),
url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'),
url('../fonts/glyphicons-halflings-regular.woff') format('woff'),
url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'),
url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}
This piece of code is from bootstrap.css file.